Part Number Hot Search : 
11G2H E2538 8765ETI LR1102 A3507 PCBB11SA EPB5208G 30005
Product Description
Full Text Search
 

To Download CS42426-CQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  advance product information this document contains information for a new product. cirrus logic reserves the right to modify this product without notice. 1 copyright ? cirrus logic, inc. 2003 (all rights reserved) cirrus logic, inc. www.cirrus.com cs42426 114 db, 192 khz 6-ch codec with pll features z six 24-bit d/a, two 24-bit a/d converters z 114 db dac / 114 db adc dynamic range z -100 db thd+n z system sampling rates up to 192 khz z integrated low-jitter pll for increased system jitter tolerance z pll clock or omck system clock selection z 7 configurable general purpose outputs z adc high pass filter for dc offset calibration z expandable adc channels and one-line mode support z digital output volume control with soft ramp z digital +/-15 db input gain adjust for adc z differential analog architecture z supports logic levels between 5 v and 1.8 v general description the cs42426 codec provides two analog-to-digital and six digital-to-analog delta-sigma converters, as well as an inte- grated pll, in a 64-pin lqfp package. the cs42426 integrated pll provides a low-jitter system clock. the internal stereo adc is capable of independent chan- nel gain control for single-ended or differential analog inputs. all six channels of dac provide digital volume control and dif- ferential analog outputs. the general purpose outputs may be driven high or low, or mapped to a variety of dac mute controls oradcoverflowindicators. the cs42426 is ideal for audio systems requiring wide dynamic range, negligible distortion and low noise, such as a/v receivers, dvd receivers, digital speaker and automotive audio systems. ordering information CS42426-CQ* -10 to 70 c 64-pin lqfp cs42426-dq* -40 to 85 c 64-pin lqfp cdb42428 evaluation board *also available in lead-free package pll internal voltage reference rst gpo1 ad0/cs scl/cclk sda/cdout ad1/cdin vlc aouta1+ aouta1- aoutb1+ aouta3+ aouta3- aouta2- aoutb2- aouta2+ aoutb2+ aoutb1- aoutb3+ aoutb3- ainl+ ainl- ainr+ ainr- filt+ refgnd vq adc#1 adc#2 digital filter digital filter gain & clip gain & clip adc_sdout adcin1 adcin2 dac_sclk dac_lrck dac_sdin3 dac_sdin2 dac_sdin1 vls adc_lrck dgnd vd omck rmck lpflt int control port dac#1 dac#2 dac#3 dac#4 dac#5 dac#6 digital filter volume control gpo2 gpo3 gpo4 gpo5 gpo6 gpo7 mutec mute analog filter va agnd adc serial audio port mult/div gpo adc_sclk level translator level translator dac serial audio port may ?03 ds604a1
cs42426 2 table of contents 1 pin descriptions ............................................................................................................... .. 6 2 typical connection diagrams ..................................................................................... 8 3 applications .................................................................................................................. ..... 10 3.1 overview .................................................................................................................... ...... 10 3.2 analog inputs ................................................................................................................ ... 10 3.2.1 line level inputs ................................................................................................. 10 3.2.2 external input filter ............................................................................................. 11 3.2.3 high pass filter and dc offset calibration ......................................................... 11 3.3 analog outputs ............................................................................................................... .11 3.3.1 line level outputs and filtering ......................................................................... 11 3.3.2 interpolation filter ............................................................................................... 12 3.3.3 digital volume and mute control ........................................................................ 12 3.3.4 atapi specification ............................................................................................ 13 3.4 clock generation ............................................................................................................. 14 3.4.1 pll and jitter attenuation ................................................................................... 14 3.4.2 omck system clock mode ................................................................................ 15 3.4.3 master mode ....................................................................................................... 15 3.4.4 slave mode ......................................................................................................... 15 3.5 digital interfaces ........................................................................................................... ... 16 3.5.1 serial audio interface signals ............................................................................. 16 3.5.2 serial audio interface formats ............................................................................ 18 3.5.3 adcin1/adcin2 serial data format .................................................................. 21 3.5.4 one line mode(olm) configurations ................................................................. 22 3.6 control port description and timing ................................................................................ 26 important notice "advance" product information describes products that are in development and subject to development changes. cirrus logic, inc. and its subsidiar- ies ("cirrus") believe that the information contained in this document is accurate and reliable. however, the information is subject to change witho ut notice and is provided "as is" without warranty of any kind (express or implied). customers are advised to obtain the latest version of relevant infor- mation to verify, before placing orders, that information being relied on is current and complete. all products are sold subject to the terms and condi - tions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liabilit y. no responsibility is assumed by cirrus for the use of this information, including use of this information as the basis for manufacture or sale of any items , or for infringement of patents or other rights of third parties. this document is the property of cirrus and by furnishing this information, cirrus gra nts no license, express or implied under any patents, mask work rights, copyrights, trademarks, trade secrets or other intellectual property rights. ci rrus owns the copyrights associated with the information contained herein and gives consent for copies to be made of the information only for use within your organization with respect to cirrus integrated circuits or other parts of cirrus. this consent does not extend to other copying such as copying for general distribution, advertising or promotional purposes, or for creating any work for resale. an export permit needs to be obtained from the competent authorities of the japanese government if any of the products or technologies described in this material and controlled under the "foreign exchange and foreign trade law" is to be exported or taken out of japan. an export license and/or quota needs to be obtained from the competent authorities of the chinese government if any of the products or technologies described in this material is subject to the prc foreign trade law and is to be exported or taken out of the prc. certain applications using semiconductor products may involve potential risks of death, personal injury, or severe property or environmental damage ("critical applications"). cirrus products are not designed, autho- rized or warranted for use in aircraft systems, military applications, products surgically implanted into the body, life support products or other critical applications (including medical devices, aircraft systems or com- ponents and personal or automotive safety or security devices). inclusion of cirrus products in such applica- tions is understood to be fully at the customer's risk and cirrus disclaims and makes no warranty, express, statutory or implied, including the implied warranties of merchantability and fitness for particular purpose, with regard to any cirrus product that is used in such a manner. if the customer or customer's customer uses or permits the use of cirrus products in critical applications, customer agrees, by such use, to fully indemnify cirrus, its officers, directors, employees, distributors and other agents from any and all liability, including attorneys' fees and costs, that may result from or arise in connection with these uses. purchase of i 2 c components of cirrus logic, inc., or one of its sublicensed associated companies conveys a license under the ph illips i 2 c patent rights to use those components in a standard i 2 c system. cirrus logic, cirrus, and the cirrus logic logo designs are trademarks of cirrus logic, inc. all other brand and product names in this document may be trademarks or service marks of their respective owners. contacting cirrus logic support for all product questions and inquiries contact a cirrus logic sales representative. to find one nearest you go to www.cirrus.com/
3 cs42426 3.6.1 spi mode ............................................................................................................ 26 3.6.2 i2c mode ............................................................................................................ 27 3.7 interrupts .................................................................................................................. ....... 28 3.8 reset and power-up ....................................................................................................... 29 3.9 power supply, grounding, and pcb layout ..................................................................... 29 4 register quick reference ........................................................................................... 30 5 register description ..................................................................................................... 32 5.1 memory address pointer (map) ....................................................................................... 32 5.2 chip i.d. and revision register (address 01h) (read only) ............................................ 32 5.3 power control (address 02h)............................................................................................ 33 5.4 functional mode (address 03h) ........................................................................................ 33 5.5 interface formats (address 04h) ...................................................................................... 34 5.6 misc control (address 05h) .............................................................................................. 36 5.7 clock control (address 06h) ............................................................................................. 37 5.8 omck/pll_clk ratio (address 07h) (read only) ......................................................... 39 5.9 clock status (address 08h) (read only) .......................................................................... 39 5.10 volume control (address 0dh) ....................................................................................... 40 5.11 channel mute (address 0eh).......................................................................................... 41 5.12 volume control (addresses 0fh, 10h, 11h, 12h, 13h, 14h) ........................................ 42 5.13 channel invert (address 17h) ......................................................................................... 42 5.14 mixing control pair 1 (channels a1 & b1)(address 18h) mixing control pair 2 (channels a2 & b2)(address 19h) mixing control pair 3 (channels a3 & b3)(address 1ah) ............................................. 42 5.15 adc left channel gain (address 1ch) .......................................................................... 45 5.16 adc right channel gain (address 1dh) ........................................................................ 45 5.17 interrupt control (address 1eh) ...................................................................................... 45 5.18 interrupt status (address 20h) (read only) ................................................................... 46 5.19 interrupt mask (address 21h) ......................................................................................... 47 5.20 interrupt mode msb (address 22h) interrupt mode lsb (address 23h)................................................................................ 47 5.21 mutec pin control (address 28h) ................................................................................... 47 5.22 general purpose pin control (addresses 29h to 2fh) ................................................... 48 6 characteristics and specifications ....................................................................... 50 specified operating conditions ............................................................................... 50 absolute maximum ratings ......................................................................................... 50 analog input characteristics .................................................................................. 51 a/d digital filter characteristics .......................................................................... 52 analog output characteristics .............................................................................. 55 d/a digital filter characteristics .......................................................................... 56 switching characteristics ........................................................................................ 61 switching characteristics - control port - i2c format ............................... 62 switching characteristics - control port - spi format ............................... 63 dc electrical characteristics ................................................................................ 64 digital interface characteristics ......................................................................... 64 7 parameter definitions ................................................................................................... 65 8 references .................................................................................................................... ..... 66 9 package dimensions .................................................................................................... 67 thermal characteristics ........................................................................................... 67
cs42426 4 list of figures figure 1. typical connection diagram ............................................................................................ 8 figure 2. typical connection diagram using the pll ..................................................................... 9 figure 3. full-scale analog input .................................................................................................. 10 figure 4. full-scale output ....................................................................................................... .... 12 figure 5. atapi block diagram (x = channel pair 1, 2, 3)............................................................. 13 figure 6. clock generation ........................................................................................................ ... 14 figure 7. right justified serial audio formats .............................................................................. 18 figure 8. i 2 s serial audio formats................................................................................................ 19 figure 9. left justified serial audio formats ................................................................................ 19 figure 10. one line mode #1 serial audio format....................................................................... 20 figure 11. one line mode #2 serial audio format....................................................................... 20 figure 12. adcin1/adcin2 serial audio format ......................................................................... 21 figure 13. olm configuration #1 .................................................................................................. 22 figure 14. olm configuration #2 .................................................................................................. 23 figure 15. olm configuration #3 .................................................................................................. 24 figure 16. olm configuration #4 .................................................................................................. 25 figure 17. control port timing in spi mode.................................................................................. 26 figure 18. control port timing, i2c slave mode write ................................................................. 27 figure 19. control port timing, i2c slave mode read ................................................................. 27 figure 20. single speed mode stopband rejection ..................................................................... 53 figure 21. single speed mode transition band............................................................................ 53 figure 22. single speed mode transition band (detail) ............................................................... 53 figure 23. single speed mode passband ripple.......................................................................... 53 figure 24. double speed mode stopband rejection .................................................................... 53 figure 25. double speed mode transition band .......................................................................... 53 figure 26. double speed mode transition band (detail).............................................................. 54 figure 27. double speed mode passband ripple ........................................................................ 54 figure 28. quad speed mode stopband rejection....................................................................... 54 figure 29. quad speed mode transition band............................................................................. 54 figure 30. quad speed mode transition band (detail) ................................................................ 54 figure 31. quad speed mode passband ripple........................................................................... 54 figure 32. single speed (fast) stopband rejection ...................................................................... 57 figure 33. single speed (fast) transition band ............................................................................ 57 figure 34. single speed (fast) transition band (detail) ................................................................ 57 figure 35. single speed (fast) passband ripple .......................................................................... 57 figure 36. single speed (slow) stopband rejection..................................................................... 57 figure 37. single speed (slow) transition band ........................................................................... 57 figure 38. single speed (slow) transition band (detail) ............................................................... 58 figure 39. single speed (slow) passband ripple ......................................................................... 58 figure 40. double speed (fast) stopband rejection..................................................................... 58 figure 41. double speed (fast) transition band ........................................................................... 58 figure 42. double speed (fast) transition band (detail) ............................................................... 58 figure 43. double speed (fast) passband ripple ......................................................................... 58 figure 44. double speed (slow) stopband rejection ................................................................... 59 figure 45. double speed (slow) transition band.......................................................................... 59 figure 46. double speed (slow) transition band (detail).............................................................. 59 figure 47. double speed (slow) passband ripple........................................................................ 59 figure 48. quad speed (fast) stopband rejection ....................................................................... 59 figure 49. quad speed (fast) transition band.............................................................................. 59 figure 50. quad speed (fast) transition band (detail).................................................................. 60 figure 51. quad speed (fast) passband ripple............................................................................ 60
5 cs42426 figure 52. quad speed (slow) stopband rejection...................................................................... 60 figure 53. quad speed (slow) transition band ............................................................................ 60 figure 54. quad speed (slow) transition band (detail) ................................................................ 60 figure 55. quad speed (slow) passband ripple .......................................................................... 60 figure 56. serial audio port master mode timing ........................................................................ 61 figure 57. serial audio port slave mode timing .......................................................................... 61 figure 58. control port timing - i2c format................................................................................. 62 figure 59. control port timing - spi format................................................................................. 63 list of tables table 1. pll external component values .................................................................................... 15 table 2. common omck clock frequencies .............................................................................. 15 table 3. common pll output clock frequencies....................................................................... 16 table 4. slave mode clock ratios ............................................................................................... 16 table 5. serial audio port channel allocations ............................................................................ 17 table 6. dac de-emphasis .......................................................................................................... 34 table 7. digital interface formats ................................................................................................. 35 table 8. adc one_line mode ...................................................................................................... 35 table 9. dac one_line mode ...................................................................................................... 35 table 10. rmck divider settings ................................................................................................. 37 table 11. omck frequency settings ........................................................................................... 38 table 12. master clock source select.......................................................................................... 38 table 13. pll clock frequency detection.................................................................................... 39 table 14. example digital volume settings .................................................................................. 42 table 15. atapi decode ............................................................................................................ .. 44 table 16. example adc input gain settings ................................................................................ 45
cs42426 6 1 pin descriptions pin name # pin description dac_sdin1 dac_sdin2 dac_sdin3 1 64 63 dac serial audio data input ( input ) - input for two?s complement serial audio data. dac_sclk 2 dac serial clock (input/output) - serial clock for the dac serial audio interface. dac_lrck 3 dac left right clock ( input / output ) - determines which channel, left or right, is currently active on the dac serial audio data line. vd 4 51 digital power ( input ) - positive power supply for the digital section. dgnd 5 52 digital ground ( input ) - ground reference. should be connected to digital ground. vlc 6 control port power ( input ) - determines the required signal level for the control port. scl/cclk 7 serial control port clock ( input ) - serial clock for the serial control port. requires an external pull-up resistor to the logic interface voltage in i 2 c mode as shown in the typical connection diagram. sda/cdout 8 serial control data ( input/output ) - sda is a data i/o line in i 2 c mode and requires an external pull-up resistor to the logic interface voltage, as shown in the typical connection diagram. cdout is the output data line for the control port interface in spi mode. ad1/cdin 9 addressbit1(i 2 c)/serial control data (spi) ( input ) - ad1 is a chip address pin in i 2 cmode;cdinis the input data line for the control port interface in spi mode. ad0/cs 10 addressbit0(i 2 c)/control port chip select (spi) (input ) - ad0isachipaddresspinini 2 c mode; cs is the chip select signal in spi mode. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 dac_sdin1 adc_sclk adc_lrck vd dgnd vlc scl/cclk sda/cdout ad1/cdin ad0/cs int rst ainr- ainr+ ainl+ ainl- vq filt+ refgnd nc nc nc nc va agnd aoutb3- aoutb3+ aouta3+ aouta3- aoutb2- aoutb2+ aouta2+ aouta2- aoutb1- aoutb1+ aouta1+ aouta1- mutec agnd va gpo7 gpo6 gpo5 gpo4 gpo3 gpo2 gpo1 lpflt nc nc vd dgnd vls nc rmck adc_sdout adcin2 adcin1 omck dac_lrck dac_sclk dac_sdin4 dac_sdin3 dac_sdin2 cs42426
7 cs42426 int 11 interrupt (output ) - the cs42426 will generate an interrupt condition as per the interrupt mask register. see ?interrupts? on page 28 for more details. rst 12 reset ( input ) - the device enters a low power mode and all internal registers are reset to their default settings when low. ainr- ainr+ 13 14 differential right channel analog input ( input ) - signals are presented differentially to the delta-sigma modulators via the ainr+/- pins. ainl+ ainl- 15 16 differential left channel analog input ( input ) - signals are presented differentially to the delta-sigma modulators via the ainl+/- pins. vq 17 quiescent voltage ( output ) - filter connection for internal quiescent reference voltage. filt+ 18 positive voltage reference ( output ) - positive reference voltage for the internal sampling circuits. refgnd 19 reference ground ( input ) - ground reference for the internal sampling circuits. aouta1 +,- aoutb1 +,- aouta2 +,- aoutb2 +,- aouta3 +,- aoutb3 +,- 36,37 35,34 32,33 31,30 28,29 27,26 differential analog output ( output ) - the full-scale differential analog output level is specified in the analog characteristics specification table. va 24 41 analog power ( input ) - positive power supply for the analog section. agnd 25 40 analog ground ( input ) - ground reference. should be connected to analog ground. mutec 38 mute control ( output ) - the mute control pin outputs high impedance following an initial power-on con- dition or whenever the pdn bit is set to a ?1?, forcing the codec into power-down mode. the signal will remain in a high impedance state as long as the part is in power-down mode. the mute control pin goes to the selected ?active? state during reset, muting, or if the master clock to left/right clock frequency ratio is incorrect. this pin is intended to be used as a control for external mute circuits to prevent the clicks and pops that can occur in any single supply system. the use of external mute circuits are not manda- tory but may be desired for designs requiring the absolute minimum in extraneous clicks and pops. lpflt 39 pll loop filter ( output ) - an rc network should be connected between this pin and ground. gpo7 gpo6 gpo5 gpo4 gpo3 gpo2 gpo1 42 43 44 45 46 47 48 general purpose output ( output ) - these pins can be configured as general purpose output pins, an adc overflow interrupt or mute control outputs according to the general purpose pin control registers. vls 53 serial port interface power ( input ) - determines the required signal level for the serial port interfaces. rmck 55 recovered master clock ( output ) - recovered master clock output from the external clock reference (omck, pin 59) or the pll which is locked to the incoming adc_lrck. adc_sdout 56 adc serial data output ( output ) - output for two?s complement serial audio pcm data from the output of the internal and external adcs. adcin1 adcin2 58 57 external adc serial input ( input ) - the cs42426 provides for up to two external stereo analog to digital converter inputs to provide a maximum of six channels on one serial data output line when the cs42426 is placed in one line mode. omck 59 external reference clock ( input ) - external clock reference that must be within the ranges specified in the register ?omck frequency (omck freqx)? on page 38. adc_lrck 60 adc left/right clock ( input / output ) - determines which channel, left or right, is currently active on the adc serial audio data line. adc_sclk 61 adc serial clock (input/output) - serial clock for the adc serial audio interface.
cs42426 8 2 typical connection diagrams aouta1+ 100 f 0.1 f + + 17 18 vq filt+ 36 37 0.1 f 4.7 f 53 analog conditioning and muting aouta1- aoutb1+ 35 34 analog conditioning and muting aoutb1- aouta2+ 32 33 analog conditioning and muting aouta2- aoutb2+ 31 30 analog conditioning and muting aoutb2- aouta3+ 28 29 analog conditioning and muting aouta3- aoutb3+ 27 26 analog conditioning and muting aoutb3- mutec 38 mute drive 25 dgnd dgnd 5 vlc 0.1 f +1.8v to +5v 6 3 60 1 64 61 2 63 8 7 scl/cclk sda/cdout ad1/cdin rst 12 9 2k ? 2k ? note: resistors are required for i 2 c control port operation see note adc_lrck refgnd 19 ad0/cs 10 int 11 digital audio processor micro- controller 56 adc_sdout 48 46 44 45 47 43 agnd agnd 52 40 cfilt** rfilt** lpflt 39 crip** 2700 pf* 2700 pf* ainl+ ainl- ainr+ ainr- left analog input right analog input 15 16 14 13 42 * see cdb42428 for a recommended filter. ** refer to table 1 for proper values connect dgnd and agnd at single point near codec gpo1 gpo2 gpo3 gpo4 gpo5 gpo6 gpo7 dac_sdin1 adc_sclk dac_sdin3 dac_sdin2 dac_lrck dac_sclk analog input buffer * analog input buffer * +va *** *** pull up or down as required on startup *** vd 24 0.1 f + 10 f va + 10 f 51 41 4 va vd 0.1 f 0.01 f 0.1 f + 10 f +5 v 0.01 f 0.01 f +3.3vto+5v + 10 f 0.1 f 0.01 f 55 rmck 58 adcin1 57 adcin2 cs5361 a/d converter cs5361 a/d converter vls 0.1 f +2.5 v to +5 v 59 omck osc figure 1. typical connection diagram cs42426
9 cs42426 vls vd aouta1+ 24 0.1 f + 10 f 100 f 0.1 f + + 17 18 vq filt+ 36 37 0.1 f 4.7 f va + 10 f 0.1 f +1.8 v to +5.0 v 51 53 analog conditioning and muting aouta1- aoutb1+ 35 34 analog conditioning and muting aoutb1- aouta2+ 32 33 analog conditioning and muting aouta2- aoutb2+ 31 30 analog conditioning and muting aoutb2- aouta3+ 28 29 analog conditioning and muting aouta3- aoutb3+ 27 26 analog conditioning and muting aoutb3- mutec 38 mute drive 25 dgnd dgnd 5 vlc 0.1 f 6 3 60 59 1 64 61 2 63 8 7 scl/cclk sda/cdout ad1/cdin rst 12 9 2k ? 2k ? note: resistors are required for i 2 c control port operation see note omck adc_lrck refgnd 19 ad0/cs 10 int 11 dvd processor 55 rmck 58 adcin1 57 adcin2 56 adc_sdout 48 46 44 45 47 43 41 4 va vd 0.1 f agnd agnd 52 40 cfilt** rfilt** lpflt 39 crip** 2700 pf* 2700 pf* ainl+ ainl- ainr+ ainr- left analog input right analog input 15 16 14 13 42 * see cdb42428 for a recommended filter. ** refer to table 1 forpropervalues connect dgnd and agnd at single point near codec gpo1 gpo2 gpo3 gpo4 gpo5 gpo6 gpo7 dac_sdin1 adc_sclk dac_sdin3 dac_sdin2 dac_lrck dac_sclk analog input buffer * analog input buffer * +va *** *** pull up or down as required on startup *** 0.01 f 0.1 f + 10 f +5 v 0.01 f 0.01 f +3.3vto+5v + 10 f 0.1 f 0.01 f 27 mhz figure 2. typical connection diagram using the pll cs42426
cs42426 10 3 applications 3.1 overview the cs42426 is a highly integrated mixed signal 24-bit audio codec comprised of 2 analog-to-digital con- verters (adc), implemented using multi-bit delta-sigma techniques, and 6 digital-to-analog converters (dac). other functions integrated within the codec include independent digital volume controls for each dac, digital de-emphasis filters for dac, digital gain control for adc channels, adc high-pass filters, and an on-chip voltage reference. all serial data is transmitted through one configurable serial audio inter- face for the adc with enhanced one line modes of operation allowing up to 6 channels of serial audio data on one data line. all functions are configured through a serial control port operable in spi mode or in i 2 c mode. figure 1 shows the recommended connections for the cs42426. the cs42426 operates in one of three oversampling modes based on the input sample rate. mode selection is determined by the fm bits in register ?functional mode (address 03h)? on page 33. single-speed mode (ssm) supports input sample rates up to 50 khz and uses a 128x oversampling ratio. double-speed mode (dsm) supports input sample rates up to 100 khz and uses an oversampling ratio of 64x. quad-speed mode (qsm) supports input sample rates up to 192 khz and uses an oversampling ratio of 32x. using the integrated pll, a low jitter clock is recovered from the adc lrck input signal. the recovered clock or an externally supplied clock attached to the omck pin can be used as the system clock. 3.2 analog inputs 3.2.1 line level inputs ainr+, ainr-, ainl+, and ainl- are the line level differential analog inputs. these pins are internally biased to the dc quiescent reference voltage, vq, of approximately 2.7 v. the level of the signal can be adjusted for the left and right adc independently through the adc left and right channel gain control registers on page 45. the adc output data is in 2?s complement binary format. for inputs above positive full scale or below negative full scale, the adc will output 7fffffh or 800000h, respectively and cause the adc overflow bit in the register ?interrupt status (address 20h) (read only)? on page 46 to be set to a ?1?. the gpo pins may also be configured to indicate an overflow condition has occurred in the adc. see ?general purpose pin control (addresses 29h to 2fh)? on page 48 for proper configuration. figure 3 shows the full-scale analog input levels. ain+ ain- full-scale input level= (ain+) - (ain-)= 5.6 vpp 4.1 v 2.7 v 1.3 v 4.1 v 2.7 v 1.3 v figure 3. full-scale analog input
11 cs42426 3.2.2 external input filter the analog modulator samples the input at 6.144 mhz (internal mclk=12.288 mhz). the digital filter will reject signals within the stopband of the filter. however, there is no rejection for input signals which are (n 6.144 mhz) the digital passband frequency, where n=0,1,2,... refer to the cdb42418 for a rec- ommended analog input buffer that will attenuate any noise energy at 6.144 mhz, in addition to providing the optimum source impedance for the modulators. the use of capacitors which have a large voltage coef- ficient (such as general purpose ceramics) must be avoided since these can degrade signal linearity. 3.2.3 high pass filter and dc offset calibration the high pass filter continuously subtracts a measure of the dc offset from the output of the decimation filter. the high pass filter can be independently enabled and disabled. if the hpf_freeze bit is set during normal operation, the current value of the dc offset for the corresponding channel is frozen and this dc offset will continue to be subtracted from the conversion result. this feature makes it possible to perform a system dc offset calibration by: 1) running the cs42426 with the high pass filter enabled until the filter settles. see the digital filter characteristics for filter settling time. 2) disabling the high pass filter and freezing the stored dc offset. the high pass filters are controlled using the hpf_freeze bit in the register ?misc control (address 05h)? on page 36. 3.3 analog outputs 3.3.1 line level outputs and filtering the cs42426 contains on-chip buffer amplifiers capable of producing line level differential outputs. these amplifiers are biased to a quiescent dc level of approximately vq. the delta-sigma conversion process produces high frequency noise beyond the audio passband, most of which is removed by the on-chip analog filters. the remaining out-of-band noise can be attenuated using an off-chip low pass filter. the recommended output filter configuration is shown in the cdb42418. this filter configuration accounts for the normally differing ac loads on the aout+ and aout- differential output pins. it also shows an ac coupling configuration which minimizes the number of required ac cou- pling capacitors.
cs42426 12 the cs42426 is a linear phase design and does not include phase or amplitude compensation for an exter- nal filter. therefore, the dac system phase and amplitude response will be dependent on the external an- alog circuitry. figure 4 shows the full-scale analog output levels. 3.3.2 interpolation filter to accommodate the increasingly complex requirements of digital audio systems, the cs42426 incorpo- rates selectable interpolation filters for each mode of operation. a ?fast? and a ?slow? roll-off filter is avail- able in each of single, double, and quad speed modes. these filters have been designed to accommodate a variety of musical tastes and styles. the filt_sel bit found in the register ?misc control (address 05h)? on page 36 is used to select which filter is used. filter response plots can be found in figures 32 to 55. 3.3.3 digital volume and mute control each dac?s output level is controlled via the volume control registers operating over the range of 0 to -127 db attenuation with 0.5 db resolution. see ?volume control (addresses 0fh, 10h, 11h, 12h, 13h, 14h)? on page 42. volume control changes are programmable to ramp in increments of 0.125 db at the rate controlled by the szc[1:0] bits in the digital volume control register. see ?volume control (address 0dh)? on page 40. each output can be independently muted via mute control bits in the register ?channel mute (address 0eh)? on page 41. when enabled, each xx_mute bit attenuates the corresponding dac to its maximum value (-127 db). when the xx_mute bit is disabled, the corresponding dac returns to the attenuation level set in the volume control register. the attenuation is ramped up and down at the rate specified by the szc[1:0] bits. the mute control pin, mutec, is typically connected to an external mute control circuit. the mute con- trol pin is tri-stated during power up or in power down mode by setting the pdn bit in the register ?power control (address 02h)? on page 33 to a ?1?. once out of power-down mode the pin can be controlled by the user via the control port, or automatically asserted high when zero data is present on all dac inputs, or when serial port clock errors are present. to prevent large transients on the output, it is desirable to mute the dac outputs before the mute control pin is asserted. please see the mutec pin in the pin descrip- tions section for more information. aout+ aout- full-scale output level= (ain+) - (ain-)= 5 vpp 3.95 v 2.7 v 1.45 v 3.95 v 2.7 v 1.45 v figure 4. full-scale output
13 cs42426 each of the gpo1-gpo7 can be programmed to provide a hardware mute signal to individual circuits. each pin can be programmed as an output, with specific muting capabilities as defined by the function bits in the register ?general purpose pin control (addresses 29h to 2fh)? on page 48. 3.3.4 atapi specification the cs42426 implements the channel mixing functions of the atapi cd-rom specification. the atapi functions are applied per a-b pair. refer to table 15 on page 44 and figure 5 for additional infor- mation. ? a channel volume control aoutax aoutbx left channel audio data right channel audio data b channel volume control mute mute dac_sdinx figure 5. atapi block diagram (x = channel pair 1, 2, 3)
cs42426 14 3.4 clock generation the clock generation for the cs42426 is shown in the figure below. the internal mclk is derived from the output of the pll or a master clock source attached to omck. the mux selection is controlled by the sw_ctrlx bits and can be configured to manual switch mode only, or automatically switch on loss of pll lock to the other source input. 3.4.1 pll and jitter attenuation the pll can be configured to lock onto the incoming adc_lrck signal from the adc serial port and generate the required internal master clock frequency. there are some applications where low jitter in the recovered clock, presented on the rmck pin, is important. for this reason, the pll has been designed to have good jitter attenuation characteristics. by setting the pll_lrck bit to a ?1? in the register ?clock control (address 06h)? on page 37, the pll will lock to the incoming adc_lrck and generate an output master clock (rmck) of 256fs. table 3 below shows the output of the pll with typical input fs values for adc_lrck. the pll behavior is affected by the external filter component values. figure 1 shows the required config- uration of the external filter components. the set of component values required for 32 khz to 192 khz adc_lrck (slave mode) pll (256fs) 8.192 - 49.152 mhz 00 01 pll_lrck bit sw_ctrlx bits (manual or auto switch) omck auto detect input clock 1,1.5, 2, 4 single speed 256 double speed 128 quad speed 64 single speed 4 double speed 2 quad speed 1 00 01 10 00 01 10 00 01 10 00 01 10 not olm olm #1 dac_fmx bits adc_fmx bits dac_olx or adc_olx bits adc_olx and adc_sp selx bits adc_sclk dac_sclk dac_lrck adc_lrck rmck olm #2 not olm olm #1 olm #2 128fs 256fs 128fs 256fs internal mclk 00 01 10 11 rmck_divx bits 2 4 x2 figure 6. clock generation
15 cs42426 sample rate applications are shown in table 1. the lock time is the worst case for an fs transition from un- locked state to locking to 192 khz. it is important to treat the lpflt pin as a low level analog input. it is suggested that the ground end of the pll filter be returned directly to the agnd pin independently of the digital ground plane. 3.4.2 omck system clock mode a special clock switching mode is available that allows the clock that is input through the omck pin to be used as the internal master clock. this feature is controlled by the sw_ctrlx bits in register ?clock control (address 06h)? on page 37. an advanced auto switching mode is also implemented to maintain master clock functionality. the clock auto switching mode allows the clock input through omck to be used as a clock in the system without any disruption when the pll loses lock, for example, when the lrck is removed from adc_lrck. this clock switching is done glitch free. 3.4.3 master mode in master mode, the serial interface timings are derived from an external clock attached to omck or the output of the pll with an input reference to the adc_lrck input from the adc serial port. the dac serial port and adc serial port can both be masters only when omck is used as the clock source. when using the pll output, the adc serial port must be slave and the dac serial port can operate in master mode. master clock selection and operation is configured with the sw_ctrl1:0 and clk_sel bits in the clock control register (see ?clock control (address 06h)? on page 37). the sample rate to omck ratios and omck frequency requirements for master mode operation are shown in table 2. 3.4.4 slave mode in slave mode, dac_lrck, dac_sclk and/or adc_lrck and adc_sclk operate as inputs. the left/right clock signal must be equal to the sample rate, fs and must be synchronously derived from the supplied master clock, omck or must be synchronous to the supplied adc_lrck used as the input to fs range (khz) rfilt (k ? ) cfilt (pf) crip (pf) settling time 32 to 192 10 2700 680 11 ms table 1. pll external component values sample rate (khz) omck (mhz) single speed (4 to 50 khz) double speed (50 to 100 khz) quad speed (100 to 192 khz) 256x 384x 512x 128x 192x 256x 64x 96x 128x 4812.288018.432024.5760------ 96 - - - 12.2880 18.4320 24.5760 - - - 192 - - - - - - 12.2880 18.4320 24.5760 table 2. common omck clock frequencies
cs42426 16 the pll. in this latter scenario the pll output becomes the internal master clock. the supported pll out- put frequencies are shown in table 3 below. the serial bit clock, dac_sclk and/or adc_sclk, must be synchronous to the corresponding dac_lrck/adc_lrck and be equal to 128x, 64x, 48x or 32x fs depending on the interface format selected and desired speed mode. one line mode #1 is supported in slave mode. one line mode #2 is not supported. refer to table 4 for required clock ratios. 3.5 digital interfaces 3.5.1 serial audio interface signals the cs42426 interfaces to an external digital audio processor via two independent serial ports, the dac serial port, dac_sp and the adc serial port, adc_sp. the digital output of the internal adcs use the adc_sdout pin and can be configured to use either the adc or dac serial port timings. these con- figuration bits and the selection of single, double or quad speed mode for dac_sp and adc_sp are found in register ?functional mode (address 03h)? on page 33. the serial interface clocks, adc_sclk for adc_sp and dac_sclk for dac_sp, are used for trans- mitting and receiving audio data. either adc_sclk or dac_sclk can be generated by the cs42426 (master mode) or it can be input from an external source (slave mode). master or slave mode selection is made using bits dac_sp m/s and adc_sp m/s in register ?misc control (address 05h)? on page 36. the left/right clock (adc_lrck or dac_lrck) is used to indicate left and right data frames and the start of a new sample period. it may be an output of the cs42426 (master mode), or it may be generated by an external source (slave mode). as described in later sections, particular modes of operation do allow the sample rate, fs, of the adc_sp and the dac_sp to be different, but must be multiples of each other. the serial data interface format selection (left/right justified, i 2 s or one line mode) for the adc serial port data out pin, adc_sdout, and the dac input pins, dac_sdin1:3, is configured using the appropriate single speed double speed quad speed one line mode #1 omck/lrck ratio 256x, 512x 128x, 256x 128x 256x sclk/lrck ratio 32x, 48x, 64x, 128x 32x, 64x 32x, 64x 128x table 4. slave mode clock ratios sample rate (khz) pll output (mhz) single speed (4 to 50 khz) double speed (50 to 100 khz) quad speed (100 to 192 khz) 256x 256x 256x 32 8.1920 - - 44.1 11.2896 - - 48 12.2880 - - 64 - 16.3840 - 88.2 - 22.5792 - 96 - 24.5760 - 176.4 - - 45.1584 192 - - 49.1520 table 3. common pll output clock frequencies
17 cs42426 bits in the register ?interface formats (address 04h)? on page 34. the serial audio data is presented in 2's complement binary form with the msb first in all formats. dac_sdin1, dac_sdin2, and dac_sdin3 are the serial data input pins supplying the internal dac. adc_sdout, the adc data output pin, carries data from the two internal 24-bit adcs and, when con- figured for one-line mode, up to four additional adc channels attached externally to the signals adcin1 and adcin2 (typically two cs5361 stereo adcs). when operated in one line data mode, 6 channels of dac data are input on dac_sdin1 and 6 channels of adc data are output on adc_sdout. table 5 outlines the serial port channel allocations. serial inputs / outputs dac_sdin1 left channel right channel onelinemode dac #1 dac #2 dac channels 1,2,3,4,5,6 dac_sdin2 left channel right channel onelinemode dac #3 dac #4 not used dac_sdin3 left channel right channel onelinemode dac #5 dac #6 not used adc_sdout left channel right channel onelinemode adc #1 adc #2 adc channels 1,2,3,4,5,6 adcin1 left channel right channel external adc #3 external adc #4 adcin2 left channel right channel external adc #5 external adc #6 table 5. serial audio port channel allocations
cs42426 18 3.5.2 serial audio interface formats the dac_sp and adc_sp digital audio serial ports support 5 formats with varying bit depths from 16 to 24 as shown in figure 7, figure 8, figure 9, figure 10 and figure 11. these formats are selected using the configuration bits in the registers, ?functional mode (address 03h)? on page 33 and ?interface formats (address 04h)? on page 34. for the diagrams below, single-speed mode is equivalent to fs = 32, 44.1, 48khz; double-speed mode is for fs = 64, 88.2, 96 khz; and quad-speed mode is for fs = 176.4, 196 khz. left channel right channel 6543210 987 15 14 13 12 11 10 6543210 987 15 14 13 12 11 10 dac_sdinx adc_sdout dac_lrck adc_lrck dac_sclk adc_sclk figure 7. right justified serial audio formats right justified mode, data valid on rising edge of sclk bits/sample sclk rate(s) notes master slave 16 64 fs 48, 64, 128 fs single-speed mode 64 fs 64 fs double-speed mode 64 fs 64 fs quad-speed mode 24 64, 128, 256 fs 64, 128 fs single-speed mode 64 fs 64 fs double-speed mode 64 fs 64 fs quad-speed mode
19 cs42426 left channel right channel dac_sdinx adc_sdout +3 +2 +1 +5 +4 -1 -2 -3 -4 -5 +3 +2 +1 +5 +4 -1 -2 -3 -4 msb msb lsb lsb dac_lrck adc_lrck dac_sclk adc_sclk figure 8. i 2 s serial audio formats i2s mode, data valid on rising edge of sclk bits/sample sclk rate(s) notes master slave 16 64 fs 48, 64, 128 fs single-speed mode 64 fs 64 fs double-speed mode 64 fs 64 fs quad-speed mode 18 to 24 64, 128, 256 fs 48, 64, 128 fs single-speed mode 64 fs 64 fs double-speed mode 64 fs 64 fs quad-speed mode dac_lrck adc_lrck dac_sclk adc_sclk left channel right channel dac_sdinx adc_sdout +3 +2 +1 +5 +4 -1 -2 -3 -4 -5 +3 +2 +1 +5 +4 -1 -2 -3 -4 msb lsb msb lsb figure 9. left justified serial audio formats left justified mode, data valid on rising edge of sclk bits/sample sclk rate(s) notes master slave 16 64 fs 32, 48, 64, 128 fs single-speed mode 64 fs 32, 64 fs double-speed mode 64 fs 32, 64 fs quad-speed mode 18 to 24 64, 128, 256 fs 48, 64, 128 fs single-speed mode 64 fs 64 fs double-speed mode 64 fs 64 fs quad-speed mode
cs42426 20 dac_lrck adc_lrck dac_sclk adc_sclk lsb msb 20 clks 64 clks 64 clks lsb msb lsb msb lsb msb lsb msb lsb msb msb dac1 dac3 dac5 dac2 dac4 dac6 20 clks 20 clks 20 clks 20 clks 20 clks left channel right channel 20 clks adc1 adc3 adc5 adc2 adc4 adc6 20 clks 20 clks 20 clks 20 clks 20 clks adc_sdout dac_sdin1 figure 10. one line mode #1 serial audio format one line data mode #1, data valid on rising edge of sclk bits/sample sclk rate(s) notes master slave 20 128 fs 128 fs single-speed mode 128 fs 128fs double-speed mode dac_lrck adc_lrck dac_sclk adc_sclk lsb msb 24 clks 128 clks lsb msb lsb msb lsb msb lsb msb lsb msb msb dac1 dac3 dac5 dac2 dac4 dac6 24 clks 24 clks 24 clks 24 clks 24 clks left channel right channel 24 clks adc1 adc3 adc5 adc2 adc4 adc6 24 clks 24 clks 24 clks 24 clks 24 clks adc_sdout 128 clks dac_sdin1 figure 11. one line mode #2 serial audio format one line data mode #2, data valid on rising edge of sclk bits/sample sclk rate(s) notes master slave 24 256 fs not supported single-speed mode
21 cs42426 3.5.3 adcin1/adcin2 serial data format the two serial data lines which interface to the optional external adcs, adcin1 and adcin2, support only left-justified, 24-bit samples at 64fs or 128fs. this interface is not affected by any of the serial port configuration register bit settings. these serial data lines are used when supporting one line mode of op- eration with external adcs attached. if these signals are not being used, they should be tied together and wired to gnd via a pull-down resistor. for proper operation, the cs42426 must be configured to select which sclk/lrck is being used to clock the external adcs. the ext adc sclk bit in register ?misc control (address 05h)? on page 36, must be set accordingly. set this bit to ?1? if the external adcs are wired using the dac_sp clocks. if the adcs are wired to use the adc_sp clocks, set this bit to ?0?. dac_lrck adc_lrck dac_sclk adc_sclk left channel right channel adcin1/2 +3 +2 +1 +5 +4 -1 -2 -3 -4 -5 +3 +2 +1 +5 +4 -1 -2 -3 -4 msb lsb msb lsb figure 12. adcin1/adcin2 serial audio format left justified mode, data valid on rising edge of sclk bits/sample sclk rate(s) notes 24 64, 128 fs single-speed mode, fs= 32, 44.1, 48 khz 64 fs double-speed mode, fs= 64, 88.2, 96 khz not supported quad-speed mode, fs= 176.4, 192 khz
cs42426 22 3.5.4 one line mode(olm) configurations 3.5.4.1 olm config #1 one line mode configuration #1 can support up to 6 channels of dac data, and 6 channels of adc data. this is the only configuration which will support up to 24-bit samples at a sampling frequency of 48 khz on all channels for both the dac and adc. register / bit settings description functional mode register (addr = 03h) set dac_fmx = adc_fmx = 00,01,10 dac_lrck must equal adc_lrck; sample rate conversion not supported set adc_clk_sel = 0 configure adc_sdout to be clocked from the dac_sp clocks. interface format register (addr = 04h) setdifxbitstoproperserialformat select the digital interface format when not in one line mode set adc_olx bits = 00,01,10 select adc operating mode, see table below for valid combinations set dac_olx bits = 00,01,10 select dac operating mode, see table below for valid combinations misc. control register (addr = 05h) set dac_sp m/s = 1 configure dac serial port to master mode. set adc_sp m/s = 1 configure adc serial port to master mode. set ext adc sclk = 0 identify external adc clock source as adc serial port. dac mode not one line mode one line mode #1 one line mode #2 adc mode not one line mode dac_sclk=64fs dac_lrck=ssm/dsm/qsm dac_sclk=128fs dac_lrck=ssm/dsm adc_sclk=64fs adc_lrck=dac_lrck not valid one line mode #1 dac_sclk=128fs dac_lrck=ssm/dsm adc_sclk=64fs adc_lrck=dac_lrck dac_sclk=128fs dac_lrck=ssm/dsm adc_sclk=64fs adc_lrck=dac_lrck not valid one line mode #2 dac_sclk=256fs dac_lrck=ssm adc_sclk=64fs adc_lrck=dac_lrck not valid dac_sclk=256fs dac_lrck=ssm adc_sclk=64fs adc_lrck=dac_lrck sclk_port1 lrck_port1 sdin_port1 sclk_port2 lrck_port2 sdout1_port2 sdout2_port2 sdout3_port2 adc_sclk adc_lrck dac_sclk dac_lrck adc_sdout dac_sdin1 dac_sdin2 dac_sdin3 rmck adcin1 adcin2 mclk sdout1 sdout2 lrck sclk 64fs adc data 64fs,128fs, 256fs digital audio processor cs5361 cs5361 mclk figure 13. olm configuration #1 cs42426
23 cs42426 3.5.4.2 olm config #2 this configuration will support up to 6 channels of dac data, 6 channels of adc data and will handle up to 20-bit samples at a sampling frequency of 96 khz on all channels for both the dac and adc. the out- put data stream of the internal and external adcs is configured to use the adc_sdout output and run at the dac serial port sample frequency. register / bit settings description functional mode register (addr = 03h) set dac_fmx = 00,01,10 dac_lrck can run at ssm, dsm or qsm independent of adc_lrck set adc_fmx = 00,01,10 adc_lrck can run at ssm, dsm or qsm independent of dac_lrck set adc_clk_sel = 1 configure adc_sdout to be clocked from the adc_sp clocks. interface format register (addr = 04h) setdifxbitstoproperserialformat select the digital interface format when not in one line mode set adc_olx bits = 00,01,10 select adc operating mode, see table below for valid combinations set dac_olx bits = 00,01 select dac operating mode, see table below for valid combinations misc. control register (addr = 05h) set codec_sp m/s = 1 set codec serial port to master mode. set sai_sp m/s = 1 set serial audio interface port to master mode. set ext adc sclk = 1 identify external adc clock source as dac serial port. dac mode not one line mode one line mode #1 one line mode #2 adc mode not one line mode dac_sclk=64fs dac_lrck=ssm/dsm/qsm adc_sclk=64fs adc_lrck=ssm/dsm/qsm dac_sclk=128fs dac_lrck=ssm adc_sclk=64fs adc_lrck=ssm/dsm/qsm not valid one line mode #1 dac_sclk=64fs dac_lrck=ssm/dsm adc_sclk=128fs adc_lrck=cx_lrck dac_sclk=128fs dac_lrck=ssm adc_sclk=128fs adc_lrck=cx_lrck not valid one line mode #2 dac_sclk=64fs dac_lrck=ssm adc_sclk=256fs adc_lrck=cx_lrck not valid not valid sclk_port1 lrck_port1 sdin_port1 sclk_port2 lrck_port2 sdout1_port2 sdout2_port2 sdout3_port2 rmck adcin1 adcin2 mclk sdout1 sdout2 lrck sclk 64fs,128fs adc data 64fs,128fs, 256fs digital audio processor cs5361 cs5361 adc_sclk adc_lrck adc_sdout dac_sclk dac_lrck dac_sdin1 dac_sdin2 dac_sdin3 mclk fi g ure 14. olm confi g uration #2 cs42426
cs42426 24 3.5.4.3 olm config #3 this configuration will support up to 6 channels of dac data, and 6 channels of adc data. olm config #3 will handle up to 20-bit adc samples at an fs of 48 khz and 24-bit dac samples at an fs of 48 khz. since the adcs data stream is configured to use the adc_sdout output and the internal and external adcs are clocked from the adc_sp, then the sample rate for the dac serial port can be different from the sample rate of the adc serial port. register / bit settings description functional mode register (addr = 03h) set dac_fmx = 00,01,10 dac_lrck can run at ssm, dsm, or qsm independent of adc_lrck set adc_fmx = 00,01,10 adc_lrck can run at ssm, dsm, or qsm independent of dac_lrck set adc_clk_sel = 1 configure adc_sdout to be clocked from the adc_sp clocks. interface format register (addr = 04h) setdifxbitstoproperserialformat select the digital interface format when not in one line mode set adc_olx bits = 00,01 select adc operating mode, see table below for valid combinations set dac_olx bits = 00,01,10 select dac operating mode, see table below for valid combinations misc. control register (addr = 05h) set dac_sp m/s = 1 set dac serial port to master mode. set adc_sp m/s = 0 or 1 set adc serial port to master mode or slave mode. set ext adc sclk = 0 identify external adc clock source as adc serial port. dac mode not one line mode one line mode #1 one line mode #2 adc mode not one line mode dac_sclk=64fs dac_lrck=ssm/dsm/qsm adc_sclk=64fs adc_lrck=ssm/dsm/qsm dac_sclk=128fs dac_lrck=ssm/dsm adc_sclk=64fs adc_lrck=ssm/dsm/qsm dac_sclk=256fs dac_lrck=ssm adc_sclk=64fs adc_lrck=ssm/dsm/qsm one line mode #1 dac_sclk=64fs dac_lrck=ssm/dsm/qsm adc_sclk=128fs adc_lrck=ssm dac_sclk=128fs dac_lrck=ssm/dsm adc_sclk=128fs adc_lrck=ssm dac_sclk=256fs dac_lrck=ssm adc_sclk=128fs adc_lrck=ssm one line mode #2 not valid not valid not valid sclk_port1 lrck_port1 sdin_port1 sclk_port2 lrck_port2 sdout1_port2 sdout2_port2 sdout3_port2 rmck adcin1 adcin2 mclk sdout1 sdout2 lrck sclk 64fs,128fs,256fs 64fs,128fs digital audio processor cs5361 cs5361 adc_sclk adc_lrck adc_sdout dac_sclk dac_lrck dac_sdin1 dac_sdin2 dac_sdin3 mclk figure 15. olm configuration #3 cs42426
25 cs42426 3.5.4.4 olm config #4 this one-line mode configuration can support up to 6 channels of dac data on 2 dac_sdin pins, and 2 channels of adc data and will handle up to 24-bit samples at a sampling frequency of 48 khz on all channels for both the dac and adc. the output data stream of the internal adcs can be configured to run at the dac_sp clock speeds or to run at the adc_sp rate. the dac_sp and adc_sp can operate at different fs rates. register / bit settings description functional mode register (addr = 03h) set dac_fmx = 00,01,10 dac_lrck can run at ssm, dsm, or qsm independent of adc_lrck set adc_fmx = 00,01,10 adc_lrck can run at ssm, dsm, or qsm independent of dac_lrck set adc_clk_sel = 0 or 1 configure adc_sdout to be clocked from the adc_sp or dac_sp clocks. interface format register (addr = 04h) setdifxbitstoproperserialformat select the digital interface format when not in one line mode set adc_olx bits = 00 set adc operating mode to not one line mode since only 2 channels of adc are supported set dac_olx bits = 00,01,10 select dac operating mode, see table below for valid combinations misc. control register (addr = 05h) set dac_sp m/s = 0 or 1 set dac serial port to master mode or slave mode. set adc_sp m/s = 0 or 1 set adc serial port to master mode or slave mode. set ext adc sclk = 0 external adcs are not used. leave bit in default state. dac mode not one line mode one line mode #1 one line mode #2 adc mode not one line mode dac_sclk=64fs/128fs dac_lrck=ssm/dsm/qsm adc_sclk=64fs/128fs adc_lrck=ssm/dsm/qsm dac_sclk=128fs dac_lrck=ssm/dsm adc_sclk=64fs/128fs adc_lrck=ssm/dsm/qsm dac_sclk=256fs dac_lrck=ssm adc_sclk=64fs/128fs adc_lrck=ssm/dsm/qsm one line mode #1 not valid not valid not valid one line mode #2 not valid not valid not valid sclk_port1 lrck_port1 sdin_port1 sdin_port2 sclk_port2 lrck_port2 sdout1_port2 sdout2_port2 sdout3_port2 rmck adcin1 adcin2 64fs,128fs, 256fs digital audio processor adc_sclk adc_lrck adc_sdout dac_sclk dac_lrck dac_sdin1 dac_sdin2 dac_sdin3 64fs,128fs mclk figure 16. olm configuration #4 cs42426
cs42426 26 3.6 control port description and timing the control port is used to access the registers, allowing the cs42426 to be configured for the desired op- erational modes and formats. the operation of the control port may be completely asynchronous with re- spect to the audio sample rates. however, to avoid potential interference problems, the control port pins should remain static if no operation is required. the control port has 2 modes: spi and i 2 c, with the cs42426 acting as a slave device. spi mode is selected if there is a high to low transition on the ad0/cs pin, after the rst pin has been brought high. i 2 c mode is selected by connecting the ad0/cs pin through a resistor to vlc or dgnd, thereby permanently se- lecting the desired ad0 bit address state. 3.6.1 spi mode in spi mode, cs is the cs42426 chip select signal, cclk is the control port bit clock (input into the cs42426 from the microcontroller), cdin is the input data line from the microcontroller, cdout is the output data line to the microcontroller. data is clocked in on the rising edge of cclk and out on the falling edge. figure 17 shows the operation of the control port in spi mode. to write to a register, bring cs low. the first seven bits on cdin form the chip address and must be 1001111. the eighth bit is a read/write indi- cator (r/w ), which should be low to write. the next eight bits form the memory address pointer (map), which is set to the address of the register that is to be updated. the next eight bits are the data which will be placed into the register designated by the map. during writes, the cdout output stays in the hi-z state. it may be externally pulled high or low with a 47 k ? resistor, if desired. there is a map auto increment capability, enabled by the incr bit in the map register. if incr is a zero, the map will stay constant for successive read or writes. if incr is set to a 1, the map will autoincrement after each byte is read or written, allowing block reads or writes of successive registers. to read a register, the map has to be set to the correct address by executing a partial write cycle which finishes (cs high) immediately after the map byte. the map auto increment bit (incr) may be set or map msb lsb data byte 1 byte n r/w r/w address chip address chip cdin cclk cs cdout msb lsb msb lsb 1001111 1001111 map = memory address pointer, 8 bits, msb first high impedance figure 17. control port timing in spi mode
27 cs42426 not,asdesired.tobeginaread,bringcs low, send out the chip address and set the read/write bit (r/w ) high. the next falling edge of cclk will clock out the msb of the addressed register (cdout will leave the high impedance state). if the map auto increment bit is set to 1, the data for successive registers will appear consecutively. 3.6.2 i 2 c mode in i 2 c mode, sda is a bidirectional data line. data is clocked into and out of the part by the clock, scl. there is no cs pin. pins ad0 and ad1 form the two least significant bits of the chip address and should be connected through a resistor to vlc or dgnd as desired. the state of the pins is sensed while the cs42426 is being reset. the signal timings for a read and write cycle are shown in figure 18 and figure 19. a start condition is defined as a falling transition of sda while the clock is high. a stop condition is a rising transition while the clock is high. all other transitions of sda occur while the clock is low. the first byte sent to the cs42426 after a start condition consists of a 7 bit chip address field and a r/w bit (high for a read, low for a write). the upper 5 bits of the 7-bit address field are fixed at 10011. to communicate with a cs42426, the chip address field, which is the first byte sent to the cs42426, should match 10011 followed by the settings of the ad1 and ad0. the eighth bit of the address is the r/w bit. if the operation is a write, the next byte is the memory address pointer (map) which selects the register to be read or written. if the op- eration is a read, the contents of the register pointed to by the map will be output. setting the auto incre- ment bit in map allows successive reads or writes of consecutive registers. each byte is separated by an acknowledge bit. the ack bit is output from the cs42426 after each input byte is read, and is input to the cs42426 from the microcontroller after each transmitted byte. 4567 24 25 scl chip address (write) map byte data data +1 start ack stop ack ack ack 1 0011ad1ad00 sda incr 6 54 3210 7 6 10 7 6 10 76 10 0 1 2 3 8 9 12 16 17 18 19 10 11 13 14 15 27 28 26 data +n figure 18. control port timing, i 2 c slave mode write scl chip address (write) map byte data data +1 start ack stop ack ack ack 10011ad1ad00 sda 10011ad1ad01 chip address (read) start incr 6543210 70 7070 no 16 8 9 12 13 14 15 4567 01 20 21 22 23 24 26 27 28 2 3 10 11 17 18 19 25 ack data + n stop figure 19. control port timing, i 2 c slave mode read
cs42426 28 since the read operation can not set the map, an aborted write operation is used as a preamble. as shown in figure 19, the write operation is aborted after the acknowledge for the map byte by sending a stop con- dition. the following pseudocode illustrates an aborted write operation followed by a read operation. send start condition. send 10011xx0 (chip address & write operation). receive acknowledge bit. send map byte, auto increment off. receive acknowledge bit. send stop condition, aborting write. send start condition. send 10011xx1(chip address & read operation). receive acknowledge bit. receive byte, contents of selected register. send acknowledge bit. send stop condition. setting the auto increment bit in the map allows successive reads or writes of consecutive registers. each byte is separated by an acknowledge bit. 3.7 interrupts the cs42426 has a comprehensive interrupt capability. the int output pin is intended to drive the inter- rupt input pin on the host microcontroller. the int pin may be set to be active low, active high or active low with no active pull-up transistor. this last mode is used for active low, wired-or hook-ups, with mul- tiple peripherals connected to the microcontroller interrupt input pin. many conditions can cause an interrupt, as listed in the interrupt status register descriptions. see ?interrupt status (address 20h) (read only)? on page 46. each source may be masked off through mask register bits. in addition, each source may be set to rising edge, falling edge, or level sensitive. combined with the op- tion of level sensitive or edge sensitive modes within the microcontroller, many different configurations are possible, depending on the needs of the equipment designer.
29 cs42426 3.8 reset and power-up reliable power-up can be accomplished by keeping the device in reset until the power supplies, clocks and configuration pins are stable. it is also recommended that reset be activated if the analog or digital supplies drop below the recommended operating condition to prevent power glitch related issues. when rst is low, the cs42426 enters a low power mode and all internal states are reset, including the control port and registers, and the outputs are muted. when rst is high, the control port becomes opera- tional and the desired settings should be loaded into the control registers. writing a 0 to the pdn bit in the power control register will then cause the part to leave the low power state and begin operation. if the internal pll is selected as the clock source, the serial audio outputs will be enabled after the pll has set- tled. see ?power control (address 02h)? on page 33 for more details. the delta-sigma modulators settle in a matter of microseconds after the analog section is powered, either through the application of power or by setting the rst pin high. however, the voltage reference will take much longer to reach a final value due to the presence of external capacitance on the filt+ pin. a time delay of approximately 80ms is required after applying power to the device or after exiting a reset state. during this voltage reference ramp delay, all serial ports and dac outputs will be automatically muted. 3.9 power supply, grounding, and pcb layout as with any high resolution converter, the cs42426 requires careful attention to power supply and ground- ing arrangements if its potential performance is to be realized. figure 1 shows the recommended power arrangements, with va connected to clean supplies. vd, which powers the digital circuitry, may be run from the system logic supply. alternatively, vd may be powered from the analog supply via a ferrite bead. in this case, no additional devices should be powered from vd. for applications where the output of the pll is required to be low jitter, use a separate, low noise analog +5 v supply for va, decoupled to agnd. in addition, a separate region of analog ground plane around the filt+, vq, lpflt, refgnd, agnd, and va pins is recommended. extensive use of power and ground planes, ground plane fill in unused areas and surface mount decoupling capacitors are recommended. decoupling capacitors should be as near to the pins of the cs42426 as pos- sible. the low value ceramic capacitor should be the nearest to the pin and should be mounted on the same side of the board as the cs42426 to minimize inductance effects. all signals, especially clocks, should be kept away from the filt+, vq and lpflt pins in order to avoid unwanted coupling into the modulators and pll. the filt+ and vq decoupling capacitors, particularly the 0.1 f, must be positioned to mini- mize the electrical path from filt+ and refgnd. the cdb42418 evaluation board demonstrates the op- timum layout and power supply arrangements.
cs42426 30 4 register quick reference addr function 7 6 5 4 3 2 1 0 01h id chip_id3 chip_id2 chip_id1 chip_id0 rev_id3 rev_id2 rev_id1 rev_id0 default 1 1 1 0 0 0 1 1 02h power control reserved pdn_pll pdn_adc reserved pdn_dac3 pdn_dac2 pdn_dac1 pdn default 0 0 0 0 0 0 0 1 03h functional mode dac_fm1 dac_fm0 adc_fm1 adc_fm0 reserved adc_clk sel dac_dem reserved default 0 0 0 0 0 0 0 0 04h interface formats dif1 dif0 adc_ol1 adc_ol0 dac_ol1 dac_ol0 reserved codec_rj16 default 0 1 0 0 0 0 0 0 05h misc control ext adc sclk hiz_rmck reserved freeze filtsel hpf_ freeze dac_sp m/s adc_sp m/s default 0 0 0 0 0 0 1 1 06h clock control rmck_div1 rmck_div0 omck freq1 omck freq0 pll_lrck sw_ctrl1 sw_ctrl0 frc_pll_lk default 0 0 0 0 0 0 1 0 07h omck/pll_clk ratio ratio7 ratio6 ratio5 ratio4 ratio3 ratio2 ratio1 ratio0 default x x x x x x x x 08h clock status reserved reserved reserved reserved active_clk pll_clk2 pll_clk1 pll_clk0 default x x x x x x x x 09h- 0ch reserved reserved reserved reserved reserved reserved reserved reserved reserved default x x x x x x x x 0dh volume control reserved sngvol szc1 szc0 amute reserved ramp_up ramp_dn default 0 0 0 0 1 0 0 0 0eh channel mute reserved reserved b3_mute a3_mute b2_mute a2_mute b1_mute a1_mute default 0 0 0 0 0 0 0 0 0fh vol. control a1 a1_vol7 a1_vol6 a1_vol5 a1_vol4 a1_vol3 a1_vol2 a1_vol1 a1_vol0 default 0 0 0 0 0 0 0 0 10h vol. control b1 b1_vol7 b1_vol6 b1_vol5 b1_vol4 b1_vol3 b1_vol2 b1_vol1 b1_vol0 default 0 0 0 0 0 0 0 0 11h vol. control a2 a2_vol7 a2_vol6 a2_vol5 a2_vol4 a2_vol3 a2_vol2 a2_vol1 a2_vol0 default 0 0 0 0 0 0 0 0 12h vol. control b2 b2_vol7 b2_vol6 b2_vol5 b2_vol4 b2_vol3 b2_vol2 b2_vol1 b2_vol0 default 0 0 0 0 0 0 0 0 13h vol. control a3 a3_vol7 a3_vol6 a3_vol5 a3_vol4 a3_vol3 a3_vol2 a3_vol1 a3_vol0 default 0 0 0 0 0 0 0 0 14h vol. control b3 b3_vol7 b3_vol6 b3_vol5 b3_vol4 b3_vol3 b3_vol2 b3_vol1 b3_vol0 default 0 0 0 0 0 0 0 0 15h reserved reserved reserved reserved reserved reserved reserved reserved reserved default 0 0 0 0 0 0 0 0 16h reserved reserved reserved reserved reserved reserved reserved reserved reserved default 0 0 0 0 0 0 0 0 17h channel invert reserved reserved inv_b3 inv_a3 inv_b2 inv_a2 inv_b1 inv_a1 default 0 0 0 0 0 0 0 0 18h mixing ctrl pair 1 p1_a=b reserved reserved p1_atapi4 p1_atapi3 p1_atapi2 p1_atapi1 p1_atapi0 default 0 0 0 0 1 0 0 1
31 cs42426 19h mixing ctrl pair 2 p2_a=b reserved reserved p2_atapi4 p2_atapi3 p2_atapi2 p2_atapi1 p2_atapi0 default 0 0 0 0 1 0 0 1 1ah mixing ctrl pair 3 p3_a=b reserved reserved p3_atapi4 p3_atapi3 p3_atapi2 p3_atapi1 p3_atapi0 default 0 0 0 0 1 0 0 1 1bh reserved reserved reserved reserved reserved reserved reserved reserved reserved default 0 0 0 0 1 0 0 1 1ch adc left ch. gain reserved reserved lgain5 lgain4 lgain3 lgain2 lgain1 lgain0 default 0 0 0 0 0 0 0 0 1dh adc right ch. gain reserved reserved rgain5 rgain4 rgain3 rgain2 rgain1 rgain0 default 0 0 0 0 0 0 0 0 1eh interrupt control sp_sync reserved de-emph1 de-emph0 int1 int0 reserved reserved default 0 0 0 0 0 0 0 0 1fh reserved reserved reserved reserved reserved reserved reserved reserved reserved default 0 0 0 0 0 0 0 0 20h interrupt status unlock reserved reserved reserved reserved reserved overflow reserved default x x x x x x x x 21h interrupt mask unlockm reserved reserved reserved reserved reserved overflowm reserved default 0 0 0 0 0 0 0 0 22h interrupt mode msb unlock1 reserved reserved reserved reserved reserved of1 reserved default 0 0 0 0 0 0 0 0 23h interrupt mode lsb unlock0 reserved reserved reserved reserved reserved of0 reserved default 0 0 0 0 0 0 0 0 24h- 27h reserved reserved reserved reserved reserved reserved reserved reserved reserved default 0 0 0 0 0 0 0 0 28h mutec reserved reserved mcpolarity m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved default 0 0 0 1 1 1 1 1 29h gpo7 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 2ah gpo6 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 2bh gpo5 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 2ch gpo4 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 2dh gpo3 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 2eh gpo2 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 2fh gpo1 mode1 mode0 polarity function4 function3 function2 function1 function0 default 0 0 0 0 0 0 0 0 addr function 7 6 5 4 3 2 1 0
cs42426 32 5 register description all registers are read/write except for i.d. and revision register, omck/pll_clk ratio register, clock status and interrupt status register which are read only. see the following bit definition tables for bit as- signment information. the default state of each bit after a power-up sequence or reset is listed in each bit description. 5.1 memory address pointer (map) not a register 5.1.1 increment(incr) default = 1 function: memory address pointer auto increment control 0 - map is not incremented automatically. 1 - internal map is automatically incremented after each read or write. 5.1.2 memory address pointer (mapx) default = 0000001 function: memory address pointer (map). sets the register address that will be read or written by the control port. 5.2 chip i.d. and revision register (address 01h) (read only) 5.2.1 chip i.d. (chip_idx) default = 1110 function: i.d. code for the cs42426. permanently set to 1110. 5.2.2 chip revision (rev_idx) default = 0001 function: cs42426 revision level. revision c is coded as 0011. 76543210 incr map6 map5 map4 map3 map2 map1 map0 76543210 chip_id3 chip_id2 chip_id1 chip_id0 rev_id3 rev_id2 rev_id1 rev_id0
33 cs42426 5.3 power control (address 02h) 5.3.1 power down pll (pdn_pll) default = 0 function: when enabled, the pll will remain in a reset state. it is advised that any change of this bit be made while the dacs are muted or the power down bit (pdn) is enabled to eliminate the possibility of audi- ble artifacts. 5.3.2 power down adc (pdn_adc) default = 0 function: when enabled the stereo analog to digital converter will remain in a reset state. it is advised that any change of this bit be made while the dacs are muted or the power down bit (pdn) is enabled to elim- inate the possibility of audible artifacts. 5.3.3 power down dac pairs (pdn_dacx) default = 0 function: when enabled the respective dac channel pair x (aoutax and aoutbx) will remain in a reset state. 5.3.4 power down (pdn) default = 1 function: the entire device will enter a low-power state when this function is enabled, and the contents of the control registers are retained in this mode. the power down bit defaults to ? enabled ? on power-up and must be disabled before normal operation can occur. 5.4 functional mode (address 03h) 5.4.1 dac functional mode (dac_fmx) default = 00 00 - single-speed mode (4 to 50 khz sample rates) 01 - double-speed mode (50 to 100 khz sample rates) 10 - quad-speed mode (100 to 192 khz sample rates) 11 - reserved function: selects the required range of sample rates for all converters clocked from the dac serial port (dac_sp). bits must be set to the corresponding sample rate range when the dac_sp is in master or slave mode. 76543210 reserved pdn_pll pdn_adc reserved pdn_dac3 pdn_dac2 pdn_dac1 pdn 76543210 dac_fm1 dac_fm0 adc_fm1 adc_fm0 reserved adc_sp sel dac_dem reserved
cs42426 34 5.4.2 adc functional mode (adc_fmx) default = 00 00 - single-speed mode (4 to 50 khz sample rates) 01 - double-speed mode (50 to 100 khz sample rates) 10 - quad-speed mode (100 to 192 khz sample rates) 11 - reserved function: selects the required range of sample rates for the adc serial port(adc_sp). these bits must be set to the corresponding sample rate range when the adc_sp is in master or slave mode. 5.4.3 adc clock source select (adc_clk sel) default = 0 0 - adc_sdout clocked from the dac_sp. 1 - adc_sdout clocked from the adc_sp. function: selects the desired clocks for the adc serial output. 5.4.4 dac de-emphasis control (dac_dem) default = 0 function: enables the digital filter to maintain the standard 15 s/50 s digital de-emphasis filter response at the auto-detected sample rate of either 32, 44.1, or 48 khz. de-emphasis will not be enabled, regard- less of this register setting, at any other sample rate. if the frc_pll_lk bit is set to a ? 1 ? b, then the auto-detect sample rate feature is disabled. to apply the correct de-emphasis filter, use the de- emph bits in the interrupt control (address 1eh) register to set the appropriate sample rate. 5.5 interface formats (address 04h) 5.5.1 digital interface format (difx) default = 01 function: these bits select the digital interface format used for the adc & dac serial port when not in one_line mode. the required relationship between the left/right clock, serial clock and serial data is defined by the digital interface format and the options are detailed in figures 7 - 9. dac_dem reg03h[1] frc_pll_lk reg06h[0] de-emph[1:0] reg1eh[5:4] de-emphasis mode 0 x xx no de-emphasis 1 0 xx auto-detect fs 11 00 01 10 11 reserved 32 khz 44.1 khz 48 khz table 6. dac de-emphasis 76543210 dif1 dif0 adc_ol1 adc_ol0 dac_ol1 dac_ol0 reserved codec_rj16
35 cs42426 5.5.2 adc one_line mode (adc_olx) default = 00 function: these bits select which mode the adc will use. by default one-line mode is disabled but can be se- lected using these bits. please see figures 10 and 11 to see the format of one-line mode 1 and one-line mode 2. 5.5.3 dac one_line mode (dac_olx) default = 00 function: these bits select which mode the dac will use. by default one-line mode is disabled but can be se- lected using these bits. please see figures 10 and 11 to see the format of one-line mode 1 and one-line mode 2. 5.5.4 codec right justified bits (codec_rj16) default = 0 function: this bit determines how many bits to use during right justified mode for the dac and adc. by default thedacandadcwillbeinrj24bitsbutcanbesettorj16bits. 0 - 24 bit mode. 1 - 16 bit mode. dif1 dif0 description format figure 00 left justified, up to 24-bit data 09 01 i 2 s, up to 24-bit data 18 10 right justified, 16-bit or 24-bit data 27 11 reserved -- table 7. digital interface formats adc_ol1 adc_ol2 description format figure 00 dif: take the dif setting from reg04h[7:6] -- 01 one-line #1 310 10 one-line #2 411 11 reserved -- table 8. adc one_line mode dac_ol1 dac_ol2 description format figure 00 dif: take the dif setting from reg04h[7:6] -- 01 one-line #1 310 10 one-line #2 411 11 reserved -- table 9. dac one_line mode
cs42426 36 5.6 misc control (address 05h) 5.6.1 external adc sclk select (ext adc sclk) default = 0 function: this bit identifies the sclk source for the external adcs attached to the adcin1/2 ports when using one line mode of operation. 0 - adc_sclk is used as external adc sclk. 1 - dac_sclk is used as external adc sclk. 5.6.2 rmck high impedance (hiz_rmck) default = 0 function: this bit is used to create a high impedance output on rmck when the clock signal is not required. 5.6.3 freeze controls (freeze) default = 0 function: this function will freeze the previous output of, and allow modifications to be made, to the volume control (address 0fh-16h), channel invert (address 17h) and mixing control pair (address 18h-1bh) registers without the changes taking effect until the freeze is disabled. to make multiple changes in these control port registers take effect simultaneously, enable the freeze bit, make all register changes, then disable the freeze bit. 5.6.4 interpolation filter select (filt_sel) default = 0 function: this feature allows the user to select whether the dac interpolation filter has a fast or slow roll off. for filter characteristics please see ? d/a digital filter characteristics ? on page 56. 0-fastrolloff. 1-slowrolloff. 5.6.5 high pass filter freeze (hpf_freeze) default = 0 function: when this bit is set, the internal high-pass filter for the selected channel will be disabled.the current dc offset value will be frozen and continue to be subtracted from the conversion result. see ? a/d dig- ital filter characteristics ? on page 52. 76543210 ext adc sclk hiz_rmck reserved freeze filt_sel hpf_freeze dac_sp m/s adc_sp m/s
37 cs42426 5.6.6 dac serial port master/slave select (dac_sp m/s ) default = 1 function: in master mode, dac_sclk and dac_lrck are outputs. internal dividers will divide the master clock to generate the serial clock and left/right clock. in slave mode, dac_sclk and dac_lrck become inputs. 5.6.7 adc serial port master/slave select (adc_sp m/s ) default = 1 function: in master mode, adc_sclk and adc_lrck are outputs. internal dividers will divide the master clock to generate the serial clock and left/right clock. in slave mode, adc_sclk and adc_lrck become inputs. to use the pll to lock to adc_lrck, the adc_sp must be in slave mode. when using the pll to lock to lrck, if adc_sdout is configured to be clocked by the adc_sp, then both adc_sclk and adc_lrck must be present. if adc_sdout is configured to be clocked by the dac_sp, then only the adc_lrck signal must be applied. 5.7 clock control (address 06h) 5.7.1 rmck divide (rmck_divx) default = 00 function: divides/multiplies the internal mclk, either from the pll or omck, by the selected factor. 76543210 rmck_div1 rmck_div0 omck freq1 omck freq0 pll_lrck sw_ctrl1 sw_ctrl0 frc_pll_lk rmck_div1 rmck_div0 description 00 divide by 1 01 divide by 2 10 divide by 4 11 multiply by 2 table 10. rmck divider settings
cs42426 38 5.7.2 omck frequency (omck freqx) default = 00 function: sets the appropriate frequency for the supplied omck. 5.7.3 pll lock to lrck (pll_lrck) default = 0 0 - disabled 1 - enabled function: when enabled, the internal pll of the cs42426 will lock to the lrck of the adc serial port (adc_lrck) while the adc_sp is in slave mode. 5.7.4 master clock source select (sw_ctrlx) default = 01 function: these two bits, along with the unlock bit in register ? interrupt status (address 20h) (read only) ? on page 46, determine the master clock source for the cs42426. when sw_ctrl1 and sw_ctrl0 are set to '00'b, selecting the output of the pll as the internal clock source, and the pll becomes unlocked, then rmck will equal omck, but all internal and serial port timings are not valid. 5.7.5 force pll lock (frc_pll_lk) default = 0 function: this bit is used to enable the pll to lock to the adc_lrck with the absence of a clock signal on omck.whensettoa ? 1 ? b, the auto-detect sample frequency feature will be disabled. the om- ck/pll_clk ratio (address 07h) (read only) register contents are not valid and the pll_clk[2:0] bits will be set to ? 111 ? b. use the de-emph[1:0] bits to properly apply de-emphasis filtering. omck freq1 omck freq0 description 00 11.2896 mhz or 12.2880 mhz 01 16.9344 mhz or 18.4320 mhz 10 22.5792 mhz or 24.5760 mhz 11 reserved table 11. omck frequency settings sw_ctrl1 sw_ctrl0 unlock description 00x manual setting, mclk sourced from pll. 01x manual setting, mclk sourced from omck. 100 1 hold, keep same mclk source. auto switch, mclk sourced from omck. 110 1 auto switch, mclk sourced from pll. auto switch, mclk sourced from omck. table 12. master clock source select
39 cs42426 5.8 omck/pll_clk ratio (address 07h) (read only) 5.8.1 omck/pll_clk ratio (ratiox) default = sixth function: this register allows the user to find the exact absolute frequency of the recovered mclk coming from the pll. this value is represented as an integer (ratio7:6) and a fractional (ratio5:0) part. for example, an omck/pll_clk ratio of 1.5 would be displayed as 60h. 5.9 clock status (address 08h) (read only) 5.9.1 system clock selection (active_clk) default = x 0-outputofpll 1-omck function: this bit identifies the source of the internal system clock (mclk). 5.9.2 pll clock frequency (pll_clkx) default = xxxh function: the cs42426 will auto-detect the ratio between the omck and the recovered clock from the pll, which is displayed in register 07h. based on this ratio, the absolute frequency of the pll clock can be determined, and this information is displayed according to the following table. if the absolute fre- quency of the pll clock does not match one of the given frequencies, this register will display the closest available value. note: these bits are set to ? 111 ? b when the frc_pll_lk bit is ? 1 ? b. 76543210 ratio7(2 1 )ratio6(2 0 )ratio5(2 -1 )ratio4(2 -2 )ratio3(2 -3 )ratio2(2 -4 )ratio1(2 -5 )ratio0(2 -6 ) 76543210 reserved reserved reserved reserved active_clk pll_clk2 pll_clk1 pll_clk0 pll_clk2 pll_clk1 pll_clk0 description 000 8.1920 mhz 001 11.2896 mhz 010 12.288 mhz 011 16.3840 mhz 100 22.5792 mhz 101 24.5760 mhz 110 45.1584 mhz 111 49.1520 mhz table 13. pll clock frequency detection
cs42426 40 5.10 volume control (address 0dh) 5.10.1 single volume control (sngvol) default = 0 function: the individual channel volume levels are independently controlled by their respective volume control registers when this function is disabled. when enabled, the volume on all channels is determined by the a1 channel volume control register and the other volume control registers are ignored. 5.10.2 soft ramp and zero cross control (szcx) default = 00 00 - immediate change 01 - zero cross 10 - soft ramp 11 - soft ramp on zero crossings function: immediate change when immediate change is selected all level changes will take effect immediately in one step. zero cross zero cross enable dictates that signal level changes, either by attenuation changes or muting, will occur on a signal zero crossing to minimize audible artifacts. the requested level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 khz sample rate) if the signal does not encounter a zero crossing. the zero cross function is independently mon- itored and implemented for each channel. soft ramp soft ramp allows level changes, both muting and attenuation, to be implemented by incrementally ramping, in 1/8 db steps, from the current level to the new level at a rate of 1 db per 8 left/right clock periods. soft ramp on zero crossing soft ramp and zero cross enable dictates that signal level changes, either by attenuation changes or muting, will occur in 1/8 db steps and be implemented on a signal zero crossing. the 1/8 db level change will occur after a timeout period between 512 and 1024 sample periods (10.7 ms to 21.3 ms at 48 khz sample rate) if the signal does not encounter a zero crossing. the zero cross function is independently monitored and implemented for each channel. 5.10.3 auto-mute (amute) default = 1 0 - disabled 1 - enabled function: 76543210 reserved sngvol szc1 szc0 amute mute adc_sp ramp_up ramp_dn
41 cs42426 the digital-to-analog converters of the cs42426 will mute the output following the reception of 8192 consecutive audio samples of static 0 or -1. a single sample of non-static data will release the mute. detection and muting is done independently for each channel. the quiescent voltage on the output will be retained and the mutec pin will go active during the mute period. the muting function is af- fected, similar to volume control changes, by the soft and zero cross bits (szc[1:0]). 5.10.4 soft volume ramp-up after error (rmp_up) default = 0 0 - disabled 1 - enabled function: an un-mute will be performed after executing a filter mode change, after a mclk/lrck ratio change or error, and after changing the functional mode. when this feature is enabled, this un-mute is affect- ed, similar to attenuation changes, by the soft and zero cross bits (szc[1:0]). when disabled, an im- mediate un-mute is performed in these instances. note: for best results, it is recommended that this bit be used in conjunction with the rmp_dn bit. 5.10.5 soft ramp-down before filter mode change (rmp_dn) default = 0 0 - disabled 1 - enabled function: a mute will be performed prior to executing a filter mode or de-emphasis mode change. when this feature is enabled, this mute is affected, similar to attenuation changes, by the soft and zero cross bits (szc[1:0]). when disabled, an immediate mute is performed prior to executing a filter mode or de-emphasis mode change. note: for best results, it is recommended that this bit be used in conjunction with the rmp_up bit. 5.11 channel mute (address 0eh) 5.11.1 independent channel mute (xx_mute) default = 0 0 - disabled 1 - enabled function: the digital-to-analog converter outputs of the cs42426 will mute when enabled. the quiescent volt- age on the outputs will be retained. the muting function is affected, similar to attenuation changes, by the soft and zero cross bits (szc[1:0]). 76543210 reserved reserved b3_mute a3_mute b2_mute a2_mute b1_mute a1_mute
cs42426 42 5.12 volume control (addresses 0fh, 10h, 11h, 12h, 13h, 14h) 5.12.1 volume control (xx_vol) default = 0 function: the digital volume control registers allow independent control of the signal levels in 0.5 db incre- ments from 0 to -127 db. volume settings are decoded as shown in table 14. the volume changes are implemented as dictated by the soft and zero cross bits (szc[1:0]). all volume settings less than -127 db are equivalent to enabling the mute bit for the given channel. 5.13 channel invert (address 17h) 5.13.1 invert signal polarity (inv_xx) default = 0 0 - disabled 1 - enabled function: when enabled, these bits will invert the signal polarity of their respective channels. 5.14 mixing control pair 1 (channels a1 & b1)(address 18h) mixing control pair 2 (channels a2 & b2)(address 19h) mixing control pair 3 (channels a3 & b3)(address 1ah) 76543210 xx_vol7 xx_vol6 xx_vol5 xx_vol4 xx_vol3 xx_vol2 xx_vol1 xx_vol0 binary code decimal value volume setting 00000000 0 0 db 00101000 40 -20 db 01010000 80 -40 db 01111000 120 -60 db 10110100 180 -90 db table 14. example digital volume settings 76543210 reserved reserved inv_b3 inv_a3 inv_b2 inv_a2 inv_b1 inv_a1 76543210 px_a=b reserved reserved px_atapi4 px_atapi3 px_atapi2 px_atapi1 px_atapi0
43 cs42426 5.14.1 channel a volume = channel b volume (px_a=b) default = 0 0 - disabled 1 - enabled function: the aoutax and aoutbx volume levels are independently controlled by the a and the b channel volume control registers when this function is disabled. the volume on both aoutax and aoutbx are determined by the a channel volume control registers (per a-b pair), and the b channel volume control registers are ignored when this function is enabled.
cs42426 44 5.14.2 atapi channel mixing and muting (px_atapix) default = 01001 function: the cs42426 implements the channel mixing functions of the atapi cd-rom specification. the atapi functions are applied per a-b pair. refer to table 15 and figure 5 for additional information. atapi4 atapi3 atapi2 atapi1 atapi0 aoutax aoutbx 00000 mute mute 00001 mute br 00010 mute bl 00011 mute b[(l+r)/2] 00100 ar mute 00101 ar br 00110 ar bl 00111 ar b[(l+r)/2] 01000 al mute 01001 al br 01010 al bl 01011 al b[(l+r)/2] 01100 a[(l+r)/2] mute 01101 a[(l+r)/2] br 01110 a[(l+r)/2] bl 01111 a[(l+r)/2] b[(l+r)/2] 10000 mute mute 10001 mute br 10010 mute bl 10011 mute [(al+br)/2] 10100 ar mute 10101 ar br 10110 ar bl 10111 ar [(bl+ar)/2] 11000 al mute 11001 al br 11010 al bl 11011 al [(al+br)/2] 11100 [(al+br)/2] mute 11101 [(al+br)/2] br 11110 [(bl+ar)/2] bl 11111 [(al+br)/2] [(al+br)/2] table 15. atapi decode
45 cs42426 5.15 adc left channel gain (address 1ch) 5.15.1 adc left channel gain (lgainx) default = 00h function: the level of the left analog channel can be adjusted in 1 db increments as dictated by the soft and zero cross bits (szc[1:0]) from +15 to -15 db. levels are decoded in two ? s complement, as shown in table 16. 5.16 adc right channel gain (address 1dh) 5.16.1 adc right channel gain (rgainx) default = 00h function: the level of the right analog channel can be adjusted in 1db increments as dictated by the soft and zero cross bits (szc[1:0]) from +15 to -15db. levels are decoded in two ? s complement, as shown in table 16. 5.17 interrupt control (address 1eh) 5.17.1 serial port synchronization (sp_sync) default = 0 0 - dac & adc serial port timings not in phase 1-dac&adcserialporttimingsareinphase function: forces the lrck and sclk from the dac & adc serial ports to align and operate in phase. this function will operate when both ports are running at the same sample rate or when operating at dif- ferent sample rates. 76543210 reserved reserved lgain5 lgain4 lgain3 lgain2 lgain1 lgain0 76543210 reserved reserved rgain5 rgain4 rgain3 rgain2 rgain1 rgain0 binary code decimal value volume setting 001111 +15 +15 db 001010 +10 +10 db 000101 +5 +5 db 000000 0 0 db 111011 -5 -5 db 110110 -10 -10 db 110001 -15 -15 db table 16. example adc input gain settings 76543210 sp_sync reserved de-emph1 de-emph0 int1 int0 reserved reserved
cs42426 46 5.17.2 de-emphasis select bits (de-emphx) default = 00 00 - reserved 01 - de-emphasis for 32 khz sample rate. 10 - de-emphasis for 44.1 khz sample rate. 11 - de-emphasis for 48 khz sample rate. function: used to specify which de-emphasis filter to apply when the force pll lock (frc_pll_lk) in reg06h is enabled. 5.17.3 interrupt pin control (intx) default = 00 00 - active high; high output indicates interrupt condition has occurred 01 - active low, low output indicates an interrupt condition has occurred 10 - open drain, active low. requires an external pull-up resistor on the int pin. 11 - reserved function: determines how the interrupt pin (int) will indicate an interrupt condition. 5.18 interrupt status (address 20h) (read only) for all bits in this register, a ? 1 ? means the associated interrupt condition has occurred at least once since the register was last read. a ? 0 ? means the associated interrupt condition has not occurred since the last reading of the register. reading the register resets all bits to 0. status bits that are masked off in the associated mask register will always be ? 0 ? in this register. 5.18.1 pll unlock (unlock) default = 0 function: pll unlock status bit. this bit will go high if the pll becomes unlocked. 5.18.2 adc overflow (overflow) default = 0 function: indicates that there is an over-range condition anywhere in the cs42426 adc signal path. 76543210 unlock reserved reserved reserved reserved reserved overflow reserved
47 cs42426 5.19 interrupt mask (address 21h) default = 00000000 function: the bits of this register serve as a mask for the interrupt sources found in the register ? interrupt status (address 20h) (read only) ? on page 46. if a mask bit is set to 1, the error is unmasked, meaning that its occurrence will affect the int pin and the status register. if a mask bit is set to 0, the error is masked, meaning that its occurrence will not affect the int pin or the status register. the bit positions align with the corresponding bits in the interrupt status register. 5.20 interrupt mode msb (address 22h) interrupt mode lsb (address 23h) default = 00000000 function: the two interrupt mode registers form a 2-bit code for each interrupt status register function. there are three ways to set the int pin active in accordance with the interrupt condition. in the rising edge active mode, the int pin becomes active on the arrival of the interrupt condition. in the falling edge active mode, the int pin becomes active on the removal of the interrupt condition. in level active mode, the int interrupt pin becomes active during the interrupt condition. be aware that the active level(active high or low) only depends on the int(1:0) bits located in the register ? interrupt control (address 1eh) ? on page 45. 00 - rising edge active 01 - falling edge active 10 - level active 11 - reserved 5.21 mutec pin control (address 28h) 5.21.1 mutec polarity select (mcpolarity) default = 0 0-activelow 1 - active high function: determines the polarity of the mutec pin. 76543210 unlockm reserved reserved reserved reserved reserved overflowm reserved 76543210 unlock1 reserved reserved reserved reserved reserved of1 reserved unlock0 reserved reserved reserved reserved reserved of0 reserved 76543210 reserved reserved mcpolarity m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved
cs42426 48 5.21.2 channel mutes select (m_aoutxx) default = 1111 0 - channel mute is not mapped to the mutec pin 1 - channel mute is mapped to the mutec pin function: determines which channel mutes will be mapped to the mutec pin. if no channel mute bits are mapped, then the mutec pin is driven to the "active" state as defined by the polarity bit. these channel mute select bits are "anded" together in order for the mutec pin to go active. this means that if multiple channel mutes are selected to be mapped to the mutec pin, then all corresponding channels must be muted before the mutec will go active. 5.22 general purpose pin control (addresses 29h to 2fh) 5.22.1 mode control (modex) default = 00 00 - reserved 01 - mute mode 10 - gpo/overflow mode 11 - gpo, drive high mode function: mute mode - the pin is configured as a dedicated mute pin. the muting function is controlled by the function bits. gpo/overflow mode - the pin is configured as a general purpose output driven low or as a dedicated adc overflow pin indicating an over-range condition anywhere in the adc signal path for either the left or right channel. the functionx bits determine the operation of the pin. when configured as a gpo with the output driven low, the driver is a cmos driver. when configured to identify an adc overflow condition, the driver is an open drain driver requiring a pull-up resistor. gpo, drive high mode - the pin is configured as a general purpose output driven high. 5.22.2 polarity select (polarity) default = 0 function: mute mode - if the pin is configured as a dedicated mute output pin, then the polarity bit determines the polarity of the mapped pin according to the following 0-activelow 1 - active high gpo/overflow mode - if the pin is configured as a gpo/overflow mode pin, the polarity bit is ignored. it is recommended that in this mode this bit be set to 0. gpo, drive high mode - if the pin is configured as a general purpose output driven high, the polarity bit is ignored. it is recommended that in this mode this bit be set to 0. 76543210 mode1 mode0 polarity function4 function3 function2 function1 function0
49 cs42426 5.22.3 functional control (functionx) default = 00000 function: mute mode - if the pin is configured as a dedicated mute pin, then the functional bits determine which channel mutes will be mapped to this pin according to the following table. 0 - channel mute is not mapped to the gpox pin 1 - channel mute is mapped to the gpox pin: gpo/overflow mode - if the pin is configured as a gpo/overflow mode pin, then the function1 and function0 bits determine how the output will behave according to the following table. it is recommend- ed that in this mode the remaining functional bits be set to 0. gpo, drive high mode - if the pin is configured as a general purpose output, then the functional bits are ignored and the pin is driven high. it is recommended that in this mode all the functional bits be set to 0. gpox reg address function4 function3 function2 function1 function0 gpo7 pin 42 29h m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved gpo6 pin 43 2ah m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved gpo5 pin 44 2bh m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved gpo4 pin 45 2ch m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved gpo3 pin 46 2dh m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved gpo2 pin 47 2eh m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved reserved gpo1 pin 48 2fh m_aouta1 m_aoutb1 m_aouta2 m_aoutb2 m_aouta3 m_aoutb3 reserved reserved function1 function0 gpox driver type 00 drive low cmos 11 ovfl r or l open drain
cs42426 50 6 characteristics and specifications (all min/max characteristics and specifications are guaranteed over the specified operating conditions. typical per- formance characteristics and specifications are derived from measurements taken at nominal supply voltages and t a =25 c.) specified operating conditions (t a =25 c; agnd=dgnd=0, all voltages with respect to ground; omck=12.288 mhz; master mode) absolute maximum ratings (agnd = dgnd = 0 v; all voltages with respect to ground.) warning: operation at or beyond these limits may result in permanent damage to the device. normal operation is not guaranteed at these extremes. notes: 1. any pin except supplies. transient currents of up to 100 ma on the analog input pins will not cause scr latch-up. 2. the maximum over/under voltage is limited by the input current. parameter symbol min typ max units dc power supply analog power digital internal power serial data port interface power control port interface power va vd vls vlc 4.75 3.13 1.8 1.8 5.0 3.3 5.0 5.0 5.25 5.25 5.25 5.25 v v v v ambient operating temperature (power applied) CS42426-CQ cs42426-dq t a -10 -40 - - +70 +85 c c parameters symbol min max units dc power supply analog power digital internal power serial data port interface power control port interface power va vd vls vlc -0.3 -0.3 -0.3 -0.3 6.0 6.0 6.0 6.0 v v v v input current (note 1) i in -10ma analog input voltage (note 2) v in agnd-0.7 va+0.7 v digital input voltage serial data port interface (note 2) control port interface v ind-s v ind-c -0.3 -0.3 vls+ 0.4 vlc+ 0.4 v v ambient operating temperature(power applied) CS42426-CQ cs42426-dq t a t a -20 -50 +85 +95 c c storage temperature t stg -65 +150 c
51 cs42426 analog input characteristics (t a =25 c; va = 5 v, vd = 3.3 v, logic "0" = dgnd =agnd = 0 v; logic "1" = vls = vlc = 5 v; measurement bandwidth 10 hz to 20 khz unless otherwise specified. full scale input sine wave, 997 hz.; omck = 12.288 mhz; single speed mode dac_sclk = 3.072 mhz; double speed mode dac_sclk = 6.144 mhz; quad speed mode dac_sclk = 12.288 mhz.) parameter (note 3) symbol CS42426-CQ min typ max cs42426-dq min typ max unit single speed mode (fs=48 khz) dynamic range a-weighted unweighted 108 105 114 111 - - 106 103 114 111 - - db db total harmonic distortion + noise (note4) -1db -20 db -60 db thd+n - - - -100 -91 -51 -94 - - - - - -100 -91 -51 -92 - - db db db double speed mode (fs=96 khz) dynamic range a-weighted unweighted 40 khz bandwidth unweighted 108 105 - 114 111 108 - - - 106 103 - 114 111 108 - - - db db db total harmonic distortion + noise (note4) -1db -20 db -60 db 40khz bandwidth -1 db thd+n - - - - -100 -91 -51 -97 -94 - - - - - - - -100 -91 -51 -97 -92 - - - db db db db quad speed mode (fs=192 khz) dynamic range a-weighted unweighted 40 khz bandwidth unweighted 108 105 - 114 111 108 - - - 106 103 - 114 111 108 - - - db db db total harmonic distortion + noise (note4) -1db -20 db -60 db 40 khz bandwidth -1 db thd+n - - - - -100 -91 -51 -97 -94 - - - - - - - -100 -91 -51 -97 -92 - - - db db db db dynamic performance for all modes interchannel isolation - 110 - - 110 - db interchannel phase deviation - 0.0001 - - 0.0001 - degree dc accuracy interchannel gain mismatch - 0.1 - - 0.1 - db gain drift - +/-100 - - +/-100 - ppm/ c offset error hpf_freeze enabled hpf_freeze disabled - - 0 100 - - - - 0 100 - - lsb lsb analog input full-scale differential input voltage 1.9 2.0 2.1 1.8 2.0 2.2 vrms input impedance(differential) (note 5) 37 - - 37 - - k ? common mode rejection ratio cmrr - 82 - - 82 - db vq nominal voltage output impedance maximum allowable dc current - - - 2.7 50 0.01 - - - - - - 2.7 50 0.01 - - - v k ? ma
cs42426 52 notes: 3. typical performance numbers are taken at 25 c. min/max performance numbers are guaranteed across the specified temperature range, t a . 4. referred to the typical full-scale voltage. 5. measured between ain+ and ain- a/d digital filter characteristics notes: 6. the filter frequency response scales precisely with fs. 7. response shown is for fs equal to 48 khz. filter characteristics scale with fs. filt+ nominal voltage output impedance maximum allowable dc current - - - 5.0 35 0.01 - - - - - - 5.0 35 0.01 - - - v k ? ma parameter symbol min typ max unit single speed mode (2 to 50 khz sample rates) passband (-0.1 db) (note 6) 0 - 0.47 fs passband ripple - - 0.035 db stopband (note 6) 0.58 - - fs stopband attenuation -95 - - db total group delay (fs = output sample rate) t gd - 12/fs - s group delay variation vs. frequency ? t gd --0.0 s double speed mode (50 to 100 khz sample rates) passband (-0.1 db) (note 6) 0 - 0.45 fs passband ripple - - 0.035 db stopband (note 6) 0.68 - - fs stopband attenuation -92 - - db total group delay (fs = output sample rate) t gd -9/fs- s group delay variation vs. frequency ? t gd --0.0 s quad speed mode (100 to 192 khz sample rates) passband (-0.1 db) (note 6) 0 - 0.24 fs passband ripple - - 0.035 db stopband (note 6) 0.78 - - fs stopband attenuation -97 - - db total group delay (fs = output sample rate) t gd -5/fs- s group delay variation vs. frequency ? t gd --0.0 s high pass filter characteristics frequency response -3.0 db -0.13 db (note 7) -1 20 - - hz hz phase deviation @ 20 hz (note 7) - 10 - deg passband ripple - - 0 db filter setting time - 10 5 /fs - s
53 cs42426 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0.00.10.20.30.40.50.60.70.80.91.0 frequency (normalized to fs) amplitude (db) -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0.40 0.42 0.44 0.46 0.48 0.50 0.52 0.54 0.56 0.58 0.60 frequency (normalized to fs) amplitude (db) figure 20. single speed mode stopband rejection figure 21. single speed mode transition band -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 0.45 0.46 0.47 0.48 0.49 0.50 0.51 0.52 0.53 0.54 0.55 frequency (normalized to fs) amplitude (db) -0.10 -0.08 -0.05 -0.03 0.00 0.03 0.05 0.08 0.10 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 frequency (normalized to fs) amplitude (db) figure 22. single speed mode transition band (detail) figure 23. single speed mode passband ripple -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0.00.10.20.30.40.50.60.70.80.91.0 frequency (normalized to fs) amplitude (db) -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0.40 0.43 0.45 0.48 0.50 0.53 0.55 0.58 0.60 0.63 0.65 0.68 0.70 frequency (normalized to fs) amplitude (db) figure 24. double speed mode stopband rejection figure 25. double speed mode transition band
cs42426 54 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 0.40 0.43 0.45 0.48 0.50 0.53 0.55 frequency (normalized to fs) amplitude (db) -0.10 -0.08 -0.05 -0.03 0.00 0.03 0.05 0.08 0.10 0.00 0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 frequency (normalized to fs) amplitude (db) figure 26. double speed mode transition band (detail) figure 27. double speed mode passband ripple -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 frequency (normalized to fs) amplitude (db) -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 frequency (normalized to fs) amplitude (db) figure 28. quad speed mode stopband rejection figure 29. quad speed mode transition band -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 frequency (normalized to fs) amplitude (db) -0.10 -0.08 -0.06 -0.04 -0.02 0.00 0.02 0.04 0.06 0.08 0.10 0.00 0.05 0.10 0.15 0.20 0.25 frequency (normalized to fs) amplitude (db) figure 30. quad speed mode transition band (detail) figure 31. quad speed mode passband ripple
55 cs42426 analog output characteristics (t a =25 c;va=5v,vd=3.3v,logic"0"=dgnd =agnd = 0 v; logic "1" = vls = vlc = 5v; measurement bandwidth 10 hz to 20 khz unless otherwise specified.; full scale output 997 hz sine wave, test load r l =3k ? ,c l = 30 pf; omck = 12.288 mhz; single speed mode, dac_sclk = 3.072 mhz; double speed mode, dac_sclk = 6.144 mhz; quad speed mode, dac_sclk = 12.288 mhz.) notes: 8. one-half lsb of triangular pdf dither is added to data. 9. performance limited by 16-bit quantization noise. parameter symbol CS42426-CQ min typ max cs42426-dq min typ max unit dynamic performance for all modes dynamic range(note 8) 24-bit a-weighted unweighted 16-bit a-weighted (note 9) unweighted 108 105 - - 114 111 97 94 - - - - 108 105 - - 114 111 97 94 - - - - db db db db total harmonic distortion + noise 24-bit 0 db -20 db -60 db 16-bit 0 db (note 9) -20 db -60 db thd+n - - - - - - -100 -91 -51 -94 -74 -34 -94 - - - - - - - - - - -100 -91 -51 -94 -74 -34 -94 - - - - - db db db db db db idle channel noise/signal-to-noise ratio - 114 - - 114 - db interchannel isolation (1 khz) -90-- 90 -db analog output characteristics for all modes full scale differential output .88va .92va .94va .88va .92va .94va vpp interchannel gain mismatch - 0.1 - - 0.1 - db gain drift - 100 - - 100 - ppm/ c output impedance z out - 100 - - 100 - ? ac-load resistance r l 3- -3 - -k ? load capacitance c l - - 30 - - 30 pf
cs42426 56 d/a digital filter characteristics notes: 10. response is clock dependent and will scale with fs. note that the response plots (figures 32 to 55) have been normalized to fs and can be de-normalized by multiplying the x-axis scale by fs. 11. single and double speed mode measurement bandwidth is from stopband to 3 fs. quad speed mode measurement bandwidth is from stopband to 1.34 fs. 12. de-emphasis is available only in single speed mode. parameter fast roll-off slow roll-off unit min typ max min typ max combined digital and on-chip analog filter response - single speed mode - 48 khz passband (note 10) to -0.01 db corner to -3 db corner 0 0 - - 0.4535 0.4998 0 0 - - 0.4166 0.4998 fs fs frequency response 10 hz to 20 khz -0.01 - +0.01 -0.01 - +0.01 db stopband 0.5465 - - 0.5834 - - fs stopband attenuation (note 11) 90 - - 64 - - db group delay - 12/fs - - 6.5/fs - s passband group delay deviation 0 - 20 khz - - 0.41/fs - 0.14/fs s de-emphasis error (note 12) fs = 32 khz (relative to 1 khz) fs = 44.1 khz fs = 48 khz - - - - - - 0.23 0.14 0.09 - - - - - - 0.23 0.14 0.09 db db db combined digital and on-chip analog filter response - double speed mode - 96 khz passband (note 10) to -0.01 db corner to -3 db corner 0 0 - - 0.4166 0.4998 0 0 - - 0.2083 0.4998 fs fs frequency response 10 hz to 20 khz -0.01 - 0.01 -0.01 - 0.01 db stopband 0.5834 - - 0.7917 - - fs stopband attenuation (note 11) 80 - - 70 - - db group delay - 4.6/fs - - 3.9/fs - s passband group delay deviation 0 - 20 khz - - 0.03/fs - 0.01/fs s combined digital and on-chip analog filter response - quad speed mode - 192 khz passband (note 10) to -0.01 db corner to -3 db corner 0 0 - - 0.1046 0.4897 0 0 - - 0.1042 0.4813 fs fs frequency response 10 hz to 20 khz -0.01 - 0.01 -0.01 - 0.01 db stopband 0.6355 - - 0.8683 - - fs stopband attenuation (note 11) 90 - - 75 - - db group delay - 4.7/fs - - 4.2/fs - s passband group delay deviation 0 - 20 khz - - 0.01/fs - 0.01/fs s
57 cs42426 0.4 0.5 0.6 0.7 0.8 0.9 1 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) 0.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58 0.6 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) figure 32. single speed (fast) stopband rejection figure 33. single speed (fast) transition band 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 10 9 8 7 6 5 4 3 2 1 0 frequency(normalized to fs) amplitude (db) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.02 0.015 0.01 0.005 0 0.005 0.01 0.015 0.02 frequency(normalized to fs) amplitude (db) figure 34. single speed (fast) transition band (detail) figure 35. single speed (fast) passband ripple 0.4 0.5 0.6 0.7 0.8 0.9 1 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) 0.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58 0.6 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) figure 36. single speed (slow) stopband rejection figure 37. single speed (slow) transition band
cs42426 58 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.02 0.015 0.01 0.005 0 0.005 0.01 0.015 0.02 frequency(normalized to fs) amplitude (db) 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 10 9 8 7 6 5 4 3 2 1 0 frequency(normalized to fs) amplitude (db) figure 38. single speed (slow) transition band (detail) figure 39. single speed (slow) passband ripple 0.4 0.5 0.6 0.7 0.8 0.9 1 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) 0.4 0.42 0.44 0.46 0.48 0.5 0.52 0.54 0.56 0.58 0.6 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) figure 40. double speed (fast) stopband rejection figure 41. double speed (fast) transition band 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 10 9 8 7 6 5 4 3 2 1 0 frequency(normalized to fs) amplitude (db) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.02 0.015 0.01 0.005 0 0.005 0.01 0.015 0.02 frequency(normalized to fs) amplitude (db) figure 42. double speed (fast) transition band (detail) figure 43. double speed (fast) passband ripple
59 cs42426 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) 0.2 0.3 0.4 0.5 0.6 0.7 0.8 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) figure 44. double speed (slow) stopband rejection figure 45. double speed (slow) transition band 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 10 9 8 7 6 5 4 3 2 1 0 frequency(normalized to fs) amplitude (db) 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.02 0.015 0.01 0.005 0 0.005 0.01 0.015 0.02 frequency(normalized to fs) amplitude (db) figure 46. double speed (slow) transition band (detail) figure 47. double speed (slow) passband ripple 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) 0.2 0.3 0.4 0.5 0.6 0.7 0.8 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) figure 48. quad speed (fast) stopband rejection figure 49. quad speed (fast) transition band
cs42426 60 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 10 9 8 7 6 5 4 3 2 1 0 frequency(normalized to fs) amplitude (db) 0 0.05 0.1 0.15 0.2 0.25 0.2 0.15 0.1 0.05 0 0.05 0.1 0.15 0.2 frequency(normalized to fs) amplitude (db) figure 50. quad speed (fast) transition band (detail) figure 51. quad speed (fast) passband ripple 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 120 100 80 60 40 20 0 frequency(normalized to fs) amplitude (db) figure 52. quad speed (slow) stopband rejection figure 53. quad speed (slow) transition band 0.45 0.46 0.47 0.48 0.49 0.5 0.51 0.52 0.53 0.54 0.55 10 9 8 7 6 5 4 3 2 1 0 frequency(normalized to fs) amplitude (db) 0 0.02 0.04 0.06 0.08 0.1 0.12 0.02 0.015 0.01 0.005 0 0.005 0.01 0.015 0.02 frequency(normalized to fs) amplitude (db) figure 54. quad speed (slow) transition band (detail) figure 55. quad speed (slow) passband ripple
61 cs42426 switching characteristics (for cq, t a =-10to+70 c; for dq, t a =-40to+85 c; va = 5 v, vd =vlc= 3.3 v, vls = 1.8 v to 5.25 v; inputs: logic 0 = dgnd, logic 1 = vls, c l =30pf) notes: 13. after powering up the cs42426, rst should be held low after the power supplies and clocks are settled. 14. see table 2 on page 15 for suggested omck frequencies 15. limit the loading on rmck to 1 cmos load if operating above 24.576 mhz. parameters symbol min typ max units rst pin low pulse width (note 13) 1 - - ms pll clock recovery sample rate range 30 - 200 khz rmck output jitter (note 15) - 200 - ps rms rmck output duty cycle 45 50 55 % omck duty cycle (note 14) 40 50 60 % dac_sclk, adc_sclk duty cycle 45 50 55 % dac_lrck, adc_lrck duty cycle 45 50 55 % master mode rmck to dac_sclk, adc_sclk active edge delay t smd 0- 10 ns rmck to dac_lrck, adc_lrck delay t lmd 0- 10 ns slave mode dac_sclk, adc_sclk falling edge to adc_sdout, adc_sdout output valid t dpd -50ns dac_lrck, adc_lrck edge to msb valid t lrpd -20ns dac_sdin setup time before dac_sclk rising edge t ds -10ns dac_sdin hold time after dac_sclk rising edge t dh -30ns dac_sclk, adc_sclk high time t sckh 20 - - ns dac_sclk, adc_sclk low time t sckl 20 - - ns dac_sclk, adc_sclk rising to dac_lrck, sai_lrck edge t lrckd 25 - - ns dac_lrck, adc_lrck edge to dac_sclk, adc_sclk rising t lrcks 25 - - ns dac_sclk adc_sclk (output) rmck t smd t lmd dac_lrck adc_lrck (output) sckh sckl t t msb msb-1 t dpd adc_sdout dac_sdinx dh t ds t lrpd t lrcks t lrckd t dac_sclk adc_sclk (input) dac_lrck adc_lrck (input) figure 56. serial audio port master mode timing figure 57. serial audio port slave mode timing
cs42426 62 switching characteristics - control port - i 2 cformat (for cq, t a =-10to+70 c; for dq, t a =-40to+85 c; va = 5 v, vd =vls= 3.3 v; vlc = 1.8 v to 5.25 v; inputs: logic 0 = dgnd, logic 1 = vlc, c l =30pf) notes: 16. data must be held for sufficient time to bridge the transition time, t fc ,ofscl. 17. the acknowledge delay is based on mclk and can limit the maximum transaction speed. 18. for single-speed mode, for double-speed mode, for quad-speed mode parameter symbol min max unit scl clock frequency f scl -100khz rst rising edge to start t irs 500 - ns bus free time between transmissions t buf 4.7 - s start condition hold time (prior to first clock pulse) t hdst 4.0 - s clock low time t low 4.7 - s clock high time t high 4.0 - s setup time for repeated start condition t sust 4.7 - s sda hold time from scl falling (note 16) t hdd 0-s sda setup time to scl rising t sud 250 - ns rise time of scl and sda t rc -1s fall time scl and sda t fc -300ns setup time for stop condition t susp 4.7 - s acknowledge delay from scl falling (note 17) t ack - (note 18) ns 15 256 fs -------------------- - 15 128 fs -------------------- - 15 64 fs ----------------- - t buf t hdst t lo w t hdd t high t sud stop s tart sda scl t irs rst t hdst t rc t fc t sust t susp start stop repeated t rd t fd t ack figure 58. control port timing - i 2 cformat
63 cs42426 switching characteristics - control port - spi format (for cq, t a =-10to+70 c; for dq, t a =-40to+85 c; va = 5 v, vd =vls= 3.3 v; vlc = 1.8 v to 5.25 v; inputs: logic 0 = dgnd, logic 1 = vlc, c l =30pf) notes: 19. if fs is lower than 46.875 khz, the maximum cclk frequency should be less than 128 fs. this is dictated by the timing requirements necessary to access the channel status and user bit buffer memory. access to the control register file can be carried out at the full 6 mhz rate. the minimum allowable input sample rate is 8 khz, so choosing cclk to be less than or equal to 1.024 mhz should be safe for all possible conditions. 20. data must be held for sufficient time to bridge the transition time of cclk. 21. for f sck <1 mhz. parameter symbol min typ max units cclk clock frequency (note 19) f sck 0-6.0mhz cs high time between transmissions t csh 1.0 - - s cs falling to cclk edge t css 20 - - ns cclk low time t scl 66 - - ns cclk high time t sch 66 - - ns cdin to cclk rising setup time t dsu 40 - - ns cclk rising to data hold time (note 20) t dh 15 - - ns cclk falling to cdout stable t pd --50ns rise time of cdout t r1 --25ns fall time of cdout t f1 --25ns rise time of cclk and cdin (note 21) t r2 - - 100 ns fall time of cclk and cdin (note 21) t f2 - - 100 ns t r2 t f2 t dsu t dh t sch t scl cs cclk cdin t css t pd cdout t csh figure 59. control port timing - spi format
cs42426 64 dc electrical characteristics (t a =25 c; agnd=dgnd=0, all voltages with respect to ground; omck=12.288 mhz; master mode) notes: 22. current consumption increases with increasing fs and increasing omck. max values are based on highest fs and highest omck. variance between speed modes is negligible. 23. i lc measured with no external loading on the sda pin. 24. power down mode is defined as rst pin = low with all clock and data lines held static. 25. valid with the recommended capacitor values on filt+ and vq as shown in figure . digital interface characteristics (for cq, t a =+25 c; for dq, t a =-40to+85 c) notes: 26. serial port signals include: rmck, omck, adc_sclk, adc_lrck, dac_sclk, dac_lrck, adc_sdout, dac_sdin1-3 adcin1/2 control port signals include: scl/cclk, sda/cdout, ad0/cs , ad1/cdin, int, rst 27. when operating rmck above 24.576 mhz, limit the loading on the signal to 1 cmos load. parameter symbol min typ max units power supply current normal operation, va=5 v (note 22) vd=5 v vd=3.3 v interface current, vlc=5v (note 23) vls=5 v power-down state (all supplies) (note 24) i a i d i d i lc i ls i pd - - - - - - 90 150 100 250 250 250 - - - - - - ma ma ma a a a power consumption (note 22) va=5 v, vd=vls=vlc=3.3 v normal operation power-down (note 24) va=5 v, vd=vls=vlc=5 v normal operation power-down (note 24) - - - - 780 1.25 950 1.25 850 - 1050 - mw mw mw mw power supply rejection ratio (note 25) (1 khz) (60 hz) psrr - - 60 40 - - db db parameters (note 26) symbol min typ max units high-level input voltage serial port control port v ih 0.7xvls 0.7xvlc - - - - v v low-level input voltage serial port control port v il - - - - 0.2xvls 0.2xvlc v v high-level output voltage at i o =2 ma (note 27)serial port control port mutec, gpox v oh vls-1.0 vlc-1.0 va-1.0 - - - - - - v v v low-level output voltage at i o =2 ma (note 27) serial port, control port, mutec, gpox v ol --0.4v input leakage current i in --10 a input capacitance - 8 - pf mutec drive current - 3 - ma
65 cs42426 7 parameter definitions dynamic range the ratio of the rms value of the signal to the rms sum of all other spectral components over the specified bandwidth. dynamic range is a signal-to-noise ratio measurement over the specified band width made with a -60 dbfs signal. 60 db is added to resulting measurement to refer the measurement to full-scale. this technique ensures that the distortion components are below the noise level and do not effect the measurement. this measurement technique has been accepted by the audio engineering society, aes17-1991, and the electronic industries association of japan, eiaj cp-307. expressed in decibels. total harmonic distortion + noise the ratio of the rms value of the signal to the rms sum of all other spectral components over the specified band width (typically 10 hz to 20 khz), including distortion components. expressed in decibels. measured at -1 and -20 dbfs as suggested in aes17-1991 annex a. frequency response a measure of the amplitude response variation from 10 hz to 20 khz relative to the amplitude response at 1 khz. units in decibels. interchannel isolation a measure of crosstalk between the left and right channels. measured for each channel at the converter's output with no signal to the input under test and a full-scale signal applied to the other channel. units in decibels. interchannel gain mismatch the gain difference between left and right channels. units in decibels. gain error the deviation from the nominal full-scale analog output for a full-scale digital input. gain drift the change in gain value with temperature. units in ppm/ c. offset error the deviation of the mid-scale transition (111...111 to 000...000) from the ideal. units in mv.
cs42426 66 8 references 1) cirrus logic, audio quality measurement specification , version 1.0, 1997. http://www.cirrus.com/products/papers/meas/meas.html 2) cirrus logic, an18: layout and design rules for data converters and other mixed signal devices , version 6.0, february 1998. 3) cirrus logic, techniques to measure and maximize the performance of a 120 db, 96 khz a/d con- verter integrated circuit , by steven harris, steven green and ka leung. presented at the 103rd con- vention of the audio engineering society, september 1997. 4) cirrus logic, a stereo 16-bit delta-sigma a/d converter for digital audio , by d.r. welland, b.p. del signore, e.j. swanson, t. tanaka, k. hamashita, s. hara, k. takasuka. paper presented at the 85th convention of the audio engineering society, november 1988. 5) cirrus logic, the effects of sampling clock jitter on nyquist sampling analog-to-digital convert- ers, and on oversampling delta sigma adc's , by steven harris. paper presented at the 87th conven- tion of the audio engineering society, october 1989. 6) cirrus logic, an 18-bit dual-channel oversampling delta-sigma a/d converter, with 19-bit mono application example , by clif sanchez. paper presented at the 87th convention of the audio engineer- ing society, october 1989. 7) cirrus logic, how to achieve optimum performance from delta-sigma a/d and d/a converters ,by steven harris. presented at the 93rd convention of the audio engineering society, october 1992. 8) cirrus logic, a fifth-order delta-sigma modulator with 110 db audio dynamic range ,byi.fuji- mori, k. hamashita and e.j. swanson. paper presented at the 93rd convention of the audio engineer- ing society, october 1992. 9) philips semiconductor, the i 2 c-bus specification: version 2.1 , jan. 2000. http://www.semiconduc- tors.philips.com
67 cs42426 9 package dimensions thermal characteristics inches millimeters dim min nom max min nom max a --- 0.55 0.063 --- 1.40 1.60 a1 0.002 0.004 0.006 0.05 0.10 0.15 b 0.007 0.008 0.011 0.17 0.20 0.27 d 0.461 0.472 bsc 0.484 11.70 12.0 bsc 12.30 d1 0.390 0.393 bsc 0.398 9.90 10.0 bsc 10.10 e 0.461 0.472 bsc 0.484 11.70 12.0 bsc 12.30 e1 0.390 0.393 bsc 0.398 9.90 10.0 bsc 10.10 e* 0.016 0.020 bsc 0.024 0.40 0.50 bsc 0.60 l 0.018 0.024 0.030 0.45 0.60 0.75 0.000 4 7.000 0.00 4 7.00 * nominal pin pitch is 0.50 mm controlling dimension is mm. jedec designation: ms022 parameter symbol min typ max units allowable junction temperature - - +135 c junction to ambient thermal impedance ja -48 - c/watt 64l lqfp package drawing e1 e d1 d 1 e l b a1 a


▲Up To Search▲   

 
Price & Availability of CS42426-CQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X